Info on how to use the Super Blockchain Scaffolder cli tool.
Before continuing, please check that you have the sbs cli tool installed. One simple way to do this by running it with the --version flag (or its shorthand -v).
sbs -v
If a verson number is printed to the console, you're good to go! 👍
If running the version command prints an error saying something like, "sbs: command not found" then you have not installed the sbs cli tool. See the install page for more help on installing the sbs cli tool.
You have two options for where you would like the sbs cli tool to put the files and folders when scaffolding a project.
There are so many awesome starters available to scaffold by the sbs cli tool that making a decision can be really tough sometimes! 🫠
You can browse, filter, and search through the complete list of starters on the search page.
Simply run the sbs command without any command line arguments or flags to run it in interactive mode.
sbs
When running in interactive mode the cli tool will propmt you for input about where to scaffold and which starter you would like to scaffold.
By passing flag arguments when running the sbs cli tool you can skip the interactive prompts and have the command directly create specified files in the specified location.
Here is an example of scaffolding the starter named "Foundry Chainlink Starter" into a folder named "foo".
sbs -n foo -s "Foundry Chainlink Starter"
You can view all the available options and flags by running the sbs cli tool with the --help flag.
sbs --help
Want to add your own awesome blockchain starter so other people can scaffold it?
Well, yes you can do it, and it's not even that hard!
The the contribute page for more information on contributing.
Copyright 2023 © Super Blockchain Scaffolder