File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed
Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 124124 bprint.info " Created $file5 "
125125 ;;
126126 full)
127- if ! git clone -q ' https://github.com/hyperupcall/template-bash' . ; then
127+ local repo=' github.com/hyperupcall/template-bash'
128+ if ! git clone -q " https://$repo " . ; then
128129 bprint.die " Could not clone the full bash template"
129130 fi
131+ bprint.info " Cloned $repo "
130132 ;;
131133 esac
132134}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ do-run() {
3030 local bin_name=" ${args[0]} "
3131 if util.get_toml_array " $BASALT_LOCAL_PROJECT_DIR /basalt.toml" ' binDirs' ; then
3232 for bin_dir in " ${REPLIES[@]} " ; do
33- for bin_file in " $bin_dir " /* ; do
33+ for bin_file in " $BASALT_LOCAL_PROJECT_DIR / $ bin_dir" /* ; do
3434 if [ -f " $bin_file " ] && [ -x " $bin_file " ]; then
3535 util.deinit
3636 exec " $bin_file " " $@ "
Original file line number Diff line number Diff line change @@ -40,6 +40,16 @@ basalt.load() {
4040 ;;
4141 esac done
4242
43+ if (( $# == 0 )) ; then
44+ printf ' %s\n' " Error: basalt.load: Must specify arguments
45+
46+ Usage:
47+ basalt.load [flags] <package> <file>
48+
49+ Pass '--help' for more info"
50+ return 1
51+ fi
52+
4353 local __basalt_pkg_path=" ${1:- } "
4454 local __basalt_file=" ${2:- } "
4555
Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ Usage:
343343 basalt global <global-subcommand> [args...]
344344
345345Local subcommands:
346- init
346+ init <--bare|--full>
347347 Creates a new Basalt package in the current directory
348348
349349 add <package>
You can’t perform that action at this time.
0 commit comments