Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shravanasati committed Jan 4, 2024
1 parent 593f064 commit dea64e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Let's quickly go over the config options:

- **`scripts`**: This the list of npm style scripts that take 4 parameters each.

* `name`: Name of the script. To execute a certain script, use its name in the `stella run SCRIPT_NAME` command. The script named _default_ will be used in case SCRIPT_NAME is not provided.
* `name`: Name of the script. To execute a certain script, use its name in the `stella run SCRIPT_NAME` command. The script named _default_ will be used in case SCRIPT_NAME is not provided. Note that this parameter is **case-insensitive**, for convenience.

* `url`: The URL to listen to on the browser. Set it to an empty string (`''`) if you don't want live reload on the browser. eg. `localhost:8000`.

Expand Down Expand Up @@ -146,7 +146,7 @@ stella run SCRIPT_NAME --config-file /path/to/config/stella.yml
```
The `run` command is used to start stella.
It expects one optional argument: the script name to run from the config file.
It expects one optional argument: the script name (case-insensitive) to run from the config file.
An optional `--config-file` (`-c` for short) flag can be used to specify the config file to be used.
Alternatively, an environment variable named `STELLA_CONFIG` can be set for the same.
Expand Down
2 changes: 2 additions & 0 deletions stellapy/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ def build_command(script: Script):
This is because with shell=True, python will handle cmd.exe and unix case by itself.
For powershell we need `powershell -Command '{joined_command}'`.
4. Raise a type error because we don't identify the command type.
"""
if isinstance(script.command, str):
if PWSH_PRESENT and WINDOWS:
Expand Down

0 comments on commit dea64e5

Please sign in to comment.