File tree Expand file tree Collapse file tree 4 files changed +30
-6
lines changed
Expand file tree Collapse file tree 4 files changed +30
-6
lines changed Original file line number Diff line number Diff line change 11# Shell Orchestration CLI changelog
2+
23All notable changes to so-sli will be documented in this file.
34
45The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
56and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
67
8+ ## [ 0.0.2]
9+
10+ - Added installation instructions to Readme
11+
712## [ 0.0.1]
13+
814- Initial release
Original file line number Diff line number Diff line change 11# Shell Orchestration CLI
22
3- Documentation is available at https://so-cli.dev .
3+ ## Requirements
44
5- # How to install?
6- 1 . Install composer and ensure ` $HOME/.composer/vendor/bin ` includes in PATH variable.
7- 2 . Install so-cli package as a global dependency: ` composer global require systemseed/so-cli ` .
8- 3 . Run ` so ` in terminal to display all existing commands.
5+ - PHP >= 8.2
6+ - Composer [ available in your console] ( https://getcomposer.org/doc/03-cli.md#composer-home )
7+
8+ ## How to install
9+
10+ 1 . Install so-cli package as a global dependency: ` composer global require systemseed/so-cli `
11+ 2 . Run ` so --version ` to verify that so-cli is installed correctly
12+ 3 . Start using so-cli by printing list of available commands: ` so list `
13+
14+ ## How to contribute
15+
16+ 1 . Clone git repository and install dependencies:
17+ ```
18+ git clone [email protected] :systemseed/so-cli.git 19+ cd so-cli
20+ composer install
21+ chmod +x so
22+ ```
23+ 2 . Run ` so --version ` to verify that so-cli is installed correctly
Original file line number Diff line number Diff line change 11{
22 "name" : " systemseed/so-cli" ,
33 "description" : " Shell Orchestration CLI" ,
4- "version" : " 0.0.1 " ,
4+ "version" : " 0.0.2 " ,
55 "require" : {
66 "symfony/console" : " ^7.0" ,
77 "symfony/yaml" : " ^7.0" ,
Original file line number Diff line number Diff line change 44use SoCli \CommandManager ;
55use SoCli \Command \PullCommands ;
66use Symfony \Component \Console \Application ;
7+ use Composer \InstalledVersions ;
78
89// The code related to autoloading was copied from https://github.com/drush-ops/drush/blob/13.x/drush.php.
910
@@ -36,6 +37,8 @@ if (!$loader) {
3637}
3738
3839$ application = new Application ();
40+ $ application ->setName ('Shell Orchestration CLI ' );
41+ $ application ->setVersion (InstalledVersions::getVersion ('systemseed/so-cli ' ));
3942$ application ->addCommands ([
4043 new PullCommands (),
4144]);
You can’t perform that action at this time.
0 commit comments