Skip to content

Commit

Permalink
Merge Release 0.5.0 #12
Browse files Browse the repository at this point in the history
2896b22 - aadbbec

## Major changes
- Create a working CLI using `click`.
- `build`, `quickstart`, and `init` are now commands callable like `ginpar [COMMAND]`.
- `quickstart` and `init` can be forced with `-f` to remove any interfering file or directory.
- `quickstart`, `init`, and `build` can take a custom path to create/parse the sketches, and to publish the generated page.

## Minor changes
- Move all the utilities from `utils.py` to `utils/` and group them by functionality:
    - `echo.py`: Echoing functions for te CLI.
    - `files.py`: File and directory management: delete, create, or copy.
    - `strings.py`: String formatting and filtering to work with kebab, snake, and spaced.
  • Loading branch information
davidomarf committed Oct 19, 2019
2 parents 16e780f + aadbbec commit c3141e8
Show file tree
Hide file tree
Showing 21 changed files with 788 additions and 151 deletions.
31 changes: 26 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# Created by https://www.gitignore.io/api/node,linux,python,visualstudiocode
# Edit at https://www.gitignore.io/?templates=node,linux,python,visualstudiocode
# Created by https://www.gitignore.io/api/node,linux,python,visualstudiocode,venv
# Edit at https://www.gitignore.io/?templates=node,linux,python,visualstudiocode,venv

### Linux ###
*~
Expand Down Expand Up @@ -127,7 +127,7 @@ dist/
downloads/
eggs/
.eggs/
## lib/
lib/
lib64/
parts/
sdist/
Expand Down Expand Up @@ -214,6 +214,24 @@ dmypy.json
# Pyre type checker
.pyre/

### venv ###
# Virtualenv
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
[Bb]in
[Ii]nclude
[Ll]ib
[Ll]ib64
[Ll]ocal
[Ss]cripts
pyvenv.cfg
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
pip-selfcheck.json

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
Expand All @@ -225,8 +243,11 @@ dmypy.json
# Ignore all local history of files
.history

# End of https://www.gitignore.io/api/node,linux,python,visualstudiocode
# End of https://www.gitignore.io/api/node,linux,python,visualstudiocode,venv

/sketches
/themes
/config.json
/config.json
/my-site

sys
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.pythonPath": "/home/d/.local/share/virtualenvs/ginpar-rqgfLzln/bin/python"
}
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pylint = "*"
[packages]
Jinja2 = "*"
PyYAML = "*"
click = "*"

[requires]
python_version = "3.7"
22 changes: 15 additions & 7 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c3141e8

Please sign in to comment.