Closed peter-bread closed 1 month ago
As of f1b7a62a448dee8cc34ab2ea4ad5023dc6a57550,
You can run:
cat options-demo.sh | bash -s -- [options]
to test option parsing.
This will be the general approach that will be moved into the main script
As of ba0711ba6ff3762dd907e0814fcd4441ff585dac,
Made usage instructions clearer
Change from -k | --keyfile
to -i | --identity
to be more inline with other SSH commands
(Maybe) No need for -y | --yes
. If you are specifying other options, you are implicitly saying yes to them.
No need to no git either
The idea is that you can pass these in to start with and then have an entirely automated and non-interactive bootstrap.
e.g.
Options
-h | --help
Print help. Completed: 2d1dcbadcd5c3fa717d23e4ef83db65eaf8fc22e--no-dotfiles
Don't clone or install dotfiles. Completed 4b1ba591f968be762acb53ca5f97530bb67060f5--no-git-shh
Don't authenticate with GH CLI.-e | --email
Specify email to use for github and ssh. Completed: 2fd533d1e9ccf65b8559cf2e6479aafa37de1c15-i | --identity
Name for SSH key. Completed: dbe9f6c71ff2bc32af58f99e0ae75365d08cae6f-b | --brewfile <full|essential|none>
Specify which brewfile to use. Completed: a73aa642477e62d27bc4225dbba9dcb7522c687d-q | --quiet
Disable all output (apart from errors). Completed: ae16fc90f99b71378c8464f51d23dc38ab304494