Skip to content

Commit

Permalink
Refactor CLI setup (#194)
Browse files Browse the repository at this point in the history
* Initial cli split

* Fix version and entry points for CLI

* Remove redundant code from cli

* Fmt

* Major cleanup in cli package

* Imports

* Metavars and envvars

* Replace nargs=* options with comma-separated lists

* Comment on configs
  • Loading branch information
gouline authored Dec 12, 2023
1 parent 089c5fc commit 483f294
Show file tree
Hide file tree
Showing 10 changed files with 442 additions and 844 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST
*/_version.py

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
build: clean
python3 setup.py sdist bdist_wheel
python3 -m build
.PHONY: build

clean:
Expand Down Expand Up @@ -39,7 +39,7 @@ check-type:
mypy dbtmetabase
.PHONY: check-type

check: check-fmt check-lint-python check-type
check: check-fmt check-imports check-lint-python check-type
.PHONY: check

test:
Expand Down
Loading

0 comments on commit 483f294

Please sign in to comment.