Buck
Searchโฆ
Introduction โก๏ธ
Installation ๐จ๐ฟโ๐ป
Your first bucket
Creating a new bucket โญ๏ธ
Listing your buckets ๐
Executing your bucket ๐ฎ
Powered By
GitBook
Executing your bucket ๐ฎ
some buck magic ...
Activating your super powers ๐ง๐พ
If you followed the last session , this is the bucket we get when we run,
buck --list new
:
>>
Here you go
:
โ
{
"name"
:
"new"
,
"executor"
:
"new"
,
"buck_list"
:
[
"mkdir quot;
,
" cd quot;
,
" code ."
]
,
"description"
:
"this creates a new bucket and opens it in vscode"
}
โ
Looking at the
buck_list
we have three commands to run, to do this, we use our magic executor
new
-
>>
buck new
When we hit enter, we get this :
>>
This
command
takes
in
an extra argument -
'new <extra argument>'
Error !
Why ?
When we created the bucket, the commands we added had the
$
keyword, buck was expecting an extra argument, which will replace
$
in execution.
To fix this, we add an extra argument :
>>
buck new myUnicornApp
buck + executor + extra_argument
with some buck magic, here you go :
>>
buck new myUnicornApp
โ
>>
Done
!
executed
3
commands.
Buck ran all 3 commands by itself, it created a new folder called
myUnicornApp
, and it opened it in vs code ๐ฒ
Wherever you are terminal, you can run this command with any extra argument, and it will work fine!
Welcome onboard, hero ! โก๏ธ
Your first bucket - Previous
Listing your buckets ๐
Last modified
10mo ago
Copy link
Outline
Activating your super powers ๐ง๐พ
Why ?