Open sephii opened 7 years ago
👍 And alternatively it will enforce your bash skills @sephii
Because I already had the need to run an update once, I hacked an update script together (https://github.com/devste/drifter/commit/c38038127592f523c8d4159aa47f40d1babb079a).
I saw this issue here later and now took the time to create a basic skeleton for a CLI tool (in bash). I just integrated my update script into the structure. Install.sh isn't integrated into the structure. One reason: even if there is a better CLI for the installation, there should probably still be a minimal "bootstrapping" script that gets the drifter CLI into the project directory of a new project.
Could be a workflow such as:
This feature is work in progress, so nowhere close to what I perceive as "pull request" quality yet. That's why I'm leaving a comment here and the link to the specific branch: https://github.com/devste/drifter/tree/feature-drifter-cli
Thanks @devste. Here are a few questions:
drifter init
command take care of installing Drifter in the project?
Having a
drifter
CLI tool would simplify the management of Drifter projects. It could for example:drifter install
instead of acurl | sh
, and have an interactive process to set which box to use, and enable initial roles and set parameters