Skip to content

Commit

Permalink
Updated to v.0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JCharis committed Jan 19, 2022
1 parent 658b89c commit 964d657
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "webgenesis"
version = "0.0.1"
version = "0.0.2"
description = "create basic hello-world apps for the various web frameworks as boiler plates"
authors = ["Jesse E.Agbe(JCharis) <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_webgenesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


def test_version():
assert __version__ == '0.0.1'
assert __version__ == '0.0.2'
16 changes: 6 additions & 10 deletions webgenesis/webgenesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


FLASK_TEMPLATE = """
from flask import Flask,requests
from flask import Flask,request,render_template
app = Flask(__name__)
Expand Down Expand Up @@ -165,7 +165,7 @@ def read_item(item_id: int, q: Optional[str] = None):


# DEFAULTS
DIR_PATH_FLASK = 'hello-flask/template'
DIR_PATH_FLASK = 'hello-flask/templates'
FILE_PATH_FLASK = 'hello-flask/app.py'

DIR_PATH_STREAMLIT = 'hello-streamlit'
Expand All @@ -174,19 +174,19 @@ def read_item(item_id: int, q: Optional[str] = None):
DIR_PATH_STREAMLIT_MULTIPAGE = 'hello-streamlit-multi'
FILE_PATH_STREAMLIT_MULTIPAGE = 'hello-streamlit-multi/app.py'

DIR_PATH_BOTTLE = 'hello-bottle/template'
DIR_PATH_BOTTLE = 'hello-bottle/templates'
FILE_PATH_BOTTLE = 'hello-bottle/app.py'

DIR_PATH_EXPRESS = 'hello-express/template'
DIR_PATH_EXPRESS = 'hello-express/views'
FILE_PATH_EXPRESS = 'hello-express/app.js'

DIR_PATH_KOAJS = 'hello-koa/template'
DIR_PATH_KOAJS = 'hello-koa/views'
FILE_PATH_KOAJS = 'hello-koa/app.js'

DIR_PATH_TORNADO = 'hello-tornado'
FILE_PATH_TORNADO = 'hello-tornado/app.py'

DIR_PATH_FASTAPI = 'hello-fastapi/template'
DIR_PATH_FASTAPI = 'hello-fastapi/templates'
FILE_PATH_FASTAPI = 'hello-fastapi/app.py'


Expand Down Expand Up @@ -302,10 +302,6 @@ def create(frameworktype,folder):
create_project_per_folder(FASTAPI_TEMPLATE,folder)






@main.command()
def info():
"""Info About CLI """
Expand Down

0 comments on commit 964d657

Please sign in to comment.