Skip to content

Commit

Permalink
docs: 📝 updated readme with details about new commands
Browse files Browse the repository at this point in the history
  • Loading branch information
WasiqB committed May 30, 2024
1 parent 434f7e5 commit df57092
Showing 1 changed file with 29 additions and 7 deletions.
36 changes: 29 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,51 @@
# boyka-cli

Command line tool for Boyka framework
Command line assistant for Boyka framework

## Command Details
## Install

To install the assistant, run the following command on the terminal:

```shell
npm i -g @boykaframework/boyka-cli
```

## Commands

### `boyka configure init --path /path/to/config`

This command will create a basic Boyka-framework config file named `boyka-config.json` at the specified path.

If `--path` option is not provided, it will create the config at `src/test/resources` folder by default.
If the optional `--path` option is not provided, it will create the config at `src/test/resources` folder by default.

### `boyka configure api [name]`
### `boyka configure api [name] --path /path/to/config`

This will add API configuration in the config file with the given name to the config block.

This will ask a set of questions to the user and depending on their answers, it will configure the API config.

### `boyka configure web [name]`
If the default config path is not `src/test/resources`, then you can set the config path by using the optional param of `--path <path/to/config>`.

### `boyka configure web [name] --path /path/to/config`

This will add Web configuration in the config file with the given name to the config block.

This will ask a set of questions to the user and depending on their answers, it will configure the Web config.

### `boyka configure mobile [name]`
If the default config path is not `src/test/resources`, then you can set the config path by using the optional param of `--path <path/to/config>`.

### `boyka configure android [name] --path /path/to/config`

This will add Mobile configuration in the config file with the given name to the config block.
This will add Mobile Android configuration in the config file with the given name to the config block.

This will ask a set of questions to the user and depending on their answers, it will configure the Mobile config.

If the default config path is not `src/test/resources`, then you can set the config path by using the optional param of `--path <path/to/config>`.

### `boyka configure ios [name] --path /path/to/config`

This will add Mobile iOS configuration in the config file with the given name to the config block.

This will ask a set of questions to the user and depending on their answers, it will configure the Mobile config.

If the default config path is not `src/test/resources`, then you can set the config path by using the optional param of `--path <path/to/config>`.

0 comments on commit df57092

Please sign in to comment.