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 124
124
bprint.info " Created $file5 "
125
125
;;
126
126
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
128
129
bprint.die " Could not clone the full bash template"
129
130
fi
131
+ bprint.info " Cloned $repo "
130
132
;;
131
133
esac
132
134
}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ do-run() {
30
30
local bin_name=" ${args[0]} "
31
31
if util.get_toml_array " $BASALT_LOCAL_PROJECT_DIR /basalt.toml" ' binDirs' ; then
32
32
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
34
34
if [ -f " $bin_file " ] && [ -x " $bin_file " ]; then
35
35
util.deinit
36
36
exec " $bin_file " " $@ "
Original file line number Diff line number Diff line change @@ -40,6 +40,16 @@ basalt.load() {
40
40
;;
41
41
esac done
42
42
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
+
43
53
local __basalt_pkg_path=" ${1:- } "
44
54
local __basalt_file=" ${2:- } "
45
55
Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ Usage:
343
343
basalt global <global-subcommand> [args...]
344
344
345
345
Local subcommands:
346
- init
346
+ init <--bare|--full>
347
347
Creates a new Basalt package in the current directory
348
348
349
349
add <package>
You can’t perform that action at this time.
0 commit comments