Skip to content

Commit

Permalink
feat: Updated pysparkler/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 10, 2024
1 parent 93949f8 commit d00638c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pysparkler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,13 @@ pysparkler upgrade-sql --input-file /path/to/sql_file.sql

### Dry-Run Mode

For both the above upgrade options, to run in dry mode, you can use the `--dry-run` flag. This will not write the
upgraded script but will print a unified diff of the input and output scripts for you to inspect the changes:
For both the above upgrade options, to run in dry mode, you can use the `--dry-run` flag. This will not generate the
upgraded script but will display a unified diff of the input and output scripts for you to inspect the changes:

```bash
pysparkler### Dry-Run Mode Example

To run the upgrade in dry-run mode, use the following command:

```bash
pysparkler upgrade --input-file /path/to/script.py --dry-run
Expand Down

0 comments on commit d00638c

Please sign in to comment.