Skip to content

Commit

Permalink
qs
Browse files Browse the repository at this point in the history
  • Loading branch information
lostmygithubaccount committed Aug 16, 2024
1 parent f3001d8 commit 34c9882
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
.dagster
datalake
*.excalidraw

_output
5 changes: 3 additions & 2 deletions src/icarus/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,12 @@ def clean_raw(
if not override and not check_raw_data_exists():
return

cmd = f"rm -rf {os.path.join(DATA_DIR, RAW_DATA_DIR)}/"
typer.echo(f"running: {cmd}...")

if confirm:
typer.confirm("Are you sure you want to delete the raw data?", abort=True)

cmd = f"rm -rf {os.path.join(DATA_DIR, RAW_DATA_DIR)}/"
typer.echo(f"running: {cmd}...")
subprocess.call(cmd, shell=True)


Expand Down
24 changes: 24 additions & 0 deletions website/onboarding.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,27 @@ pip install -r requirements.txt
:::

Then the `icarus` CLI is available. Use it to generate data and run stuff.

## Generating synthetic data

Run:

```bash
icarus gen
```

## Running ETL

Run:

```bash
icarus etl
```

## Open application

Run:

```bash
icarus app
```

0 comments on commit 34c9882

Please sign in to comment.