Hasura CLI: hasura hub:clone

Clone a project from Hasura Hub

Synopsis

Clone a project from Hasura Hub

hasura hub:clone [user/project-name:version] [directory] [flags]

Alias: clone, cl

Examples

# Clone hasura/hello-world
$ hasura clone hello-world
# Clone hasura/hello-world into a directory called my-hello-world
$ hasura clone hello-world my-hello-world

# To fetch a project named "python-flask" by user "user12"
$ hasura clone user12/python-flask
# To fetch "python-flask" with version "v0.1" by user "user12"
$ hasura clone user12/python-flask:v0.1

# Create an empty project:
$ hasura clone base [your-preferred-name]

Options

-h, --help   help for hub:clone

Options inherited from parent commands

--project string   hasura project directory where the commands should be executed. (default: current directory)

SEE ALSO

  • hasura - hasura controls the hasura project

Auto generated by spf13/cobra