A concise cli project manager using env files.
The main goal it's readability and time saving with commands use in your project. Short it's command-line tool that allow to run program (usually sh script) with environment variables mapping from .env files. It take care about to synchronize and to check the format of all env files to each others. You can apply a mapping in order to select, group and add custom format / cases on the fly on the variables. The result of mapping will be inject as environment variables in the output .sh script that will be executed.
It's include an index/registry that allow to share project templates: 🎁 template-index.
cargo install short
✨ PS1
Example with PS1 configure by .bashrc
shell script
export PS1="$(sht show -f):\w\$ "
✨ starship
Example with custom pre-prompt : starship.
Here the custom script that starship run before display prompt.
```shell script
function blastoff(){ sht show -f } starshipprecmduser_func=blastoff ```
That commands allow to generate an simply aws sam project base on this template aws-sam-short-template.
$> sht init
$> sht generate aws-sam -d -t
$> sht run
⚠️ wip ...
``` USAGE: sht [SUBCOMMAND]
FLAGS: -h, --help Prints help information -V, --version Prints version information
SUBCOMMANDS:
init Init project, create an empty "short.yaml" configuration file.
generate Generate empty setup or from template setup repository.
run Run setup [ARGS...].
rename Rename setup.
new Create env file ".