init
Usage
prism init
is used to initialize a new Prism project.
Usage: prism init [OPTIONS]
Initialize a Prism project.
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --project-name TEXT Project name โ
โ --minimal Create minimal project (just prism_project.py and modules) โ
โ --log-level -l [info|warn|error|debug] Set the log level โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
After the command finishes executing, you should see the folder for your Prism project!
Example
Here's what the output will look like in Terminal:
$ prism init --project_name my_first_project
--------------------------------------------------------------------------------
<HH:MM:SS> | INFO | Running with prism v0.2.1...
<HH:MM:SS> | INFO | Creating project directory...
______
____ __ \_____(_)________ _______
_____ /_/ / ___/ / ___/ __ `__ \ ____
____ / ____/ / / (__ ) / / / / / _____
___/_/ /_/ /_/____/_/ /_/ /_/ ___
Welcome to Prism, the easiest way to create clean, modular data pipelines
using Python!
To get started, navigate to your newly created project "my_first_project" and try
running the following commands:
prism compile
prism run
Consult the documentation here for more information on how to get started.
docs.runprism.com
Happy building!
--------------------------------------------------------------------------------
Last updated