gibson-cli 0.5.4__tar.gz → 0.5.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gibson_cli-0.5.4/gibson_cli.egg-info → gibson_cli-0.5.6}/PKG-INFO +1 -1
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/api/BaseApi.py +4 -3
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Remove.py +3 -1
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Show.py +1 -1
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/code/Code.py +2 -2
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/code/Entity.py +3 -10
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/list/Projects.py +6 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/new/Module.py +1 -1
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/new/New.py +12 -6
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/core/Configuration.py +3 -1
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/data/bash-completion.tmpl +3 -4
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/display/WorkspaceHeader.py +3 -3
- {gibson_cli-0.5.4 → gibson_cli-0.5.6/gibson_cli.egg-info}/PKG-INFO +1 -1
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/pyproject.toml +1 -1
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/.gitignore +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/.pre-commit-config.yaml +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/README.md +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/bin/build.sh +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/bin/release.sh +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/api/Cli.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/api/ProjectApi.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/bin/gibson.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/BaseCommand.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Build.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Conf.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Count.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Dev.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Forget.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Help.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Import.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Merge.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Model.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Modify.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/OpenApi.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Question.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Schema.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Test.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Tree.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/Version.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/WarGames.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/auth/Auth.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/auth/Login.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/auth/Logout.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/list/Entities.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/list/List.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/new/Project.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/rename/Entity.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/rename/Rename.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/rewrite/Api.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/rewrite/Base.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/rewrite/Models.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/rewrite/Rewrite.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/rewrite/Schemas.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/rewrite/Tests.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/tests/test_command_BaseCommand.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/command/tests/test_command_Conf.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Api.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Code.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Custom.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Datastore.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Dependencies.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Dev.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Frameworks.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Modeler.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Paths.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Platform.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Project.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/Version.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/dev/Api.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/dev/Base.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/dev/Model.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/dev/Schema.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/tests/test_conf_Dependencies.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/conf/tests/test_conf_Platform.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/core/Colors.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/core/CommandRouter.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/core/Completions.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/core/Conversation.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/core/Env.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/core/Memory.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/core/PythonPath.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/core/TimeKeeper.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/core/utils.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/data/default-ref-table.tmpl +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/data/default-table.tmpl +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/db/TableExceptions.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/db/tests/test_db_TableExceptions.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/dev/Dev.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/display/Header.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/display/WorkspaceFooter.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/display/tests/test_display_Header.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/display/tests/test_display_WorkspaceFooter.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/display/tests/test_display_WorkspaceHeader.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/lang/Python.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/lang/tests/test_lang_Python.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/auth/Server.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/context/schema/DataDictionary.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/context/schema/EntityKeys.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/context/schema/Manager.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/context/schema/tests/test_code_context_schema_DataDictionary.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/context/schema/tests/test_code_context_schema_EntityKeys.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/context/schema/tests/test_code_context_schema_Manager.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/customization/Authenticator.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/customization/BaseCustomization.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/customization/CustomizationManager.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/customization/Index.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/customization/tests/test_code_customization_Authenticator.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/customization/tests/test_code_customization_BaseCustomization.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/structure/Entity.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/structure/constraints/ReferenceConstraint.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/structure/keys/ForeignKey.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/structure/keys/Index.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/structure/keys/IndexAttribute.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/structure/keys/tests/test_ForeignKey.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/structure/keys/tests/test_Index.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/structure/keys/tests/test_IndexAttribute.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/structure/testing.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/structure/tests/test_Entity.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/tests/test_Env.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/tests/test_Memory.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/tests/test_utils.py +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson_cli.egg-info/SOURCES.txt +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson_cli.egg-info/dependency_links.txt +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson_cli.egg-info/entry_points.txt +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson_cli.egg-info/top_level.txt +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/requirements.txt +0 -0
- {gibson_cli-0.5.4 → gibson_cli-0.5.6}/setup.cfg +0 -0
@@ -2,6 +2,7 @@ import os
|
|
2
2
|
|
3
3
|
import requests
|
4
4
|
|
5
|
+
import gibson.core.Colors as Colors
|
5
6
|
from gibson.core.Configuration import Configuration
|
6
7
|
|
7
8
|
|
@@ -83,9 +84,9 @@ class BaseApi:
|
|
83
84
|
|
84
85
|
def __raise_for_status(self, r):
|
85
86
|
if r.status_code == 401:
|
86
|
-
|
87
|
-
|
88
|
-
|
87
|
+
self.configuration.conversation.type(
|
88
|
+
f"\nYou need to log in to continue. Please run {Colors.command('gibson')} {Colors.subcommand('auth')} {Colors.argument('login')} and then try again.\n"
|
89
|
+
)
|
89
90
|
exit(1)
|
90
91
|
|
91
92
|
try:
|
@@ -31,7 +31,9 @@ class Remove(BaseCommand):
|
|
31
31
|
else:
|
32
32
|
self.memory.remember_last({"entities": entities})
|
33
33
|
|
34
|
-
self.conversation.type(
|
34
|
+
self.conversation.type(
|
35
|
+
f"[Removed] {sys.argv[2]} from {Colors.argument('last')} memory\n"
|
36
|
+
)
|
35
37
|
self.conversation.newline()
|
36
38
|
|
37
39
|
return self
|
@@ -27,7 +27,7 @@ class Show(BaseCommand):
|
|
27
27
|
|
28
28
|
for entity in sorted(entities, key=lambda x: x["name"]):
|
29
29
|
statement = entity["definition"].replace(
|
30
|
-
entity["name"], Colors.argument(entity["name"])
|
30
|
+
entity["name"], Colors.argument(entity["name"]), 1
|
31
31
|
)
|
32
32
|
print(f"\n{statement}")
|
33
33
|
|
@@ -2,13 +2,13 @@ import sys
|
|
2
2
|
|
3
3
|
import gibson.core.Colors as Colors
|
4
4
|
from gibson.command.BaseCommand import BaseCommand
|
5
|
-
from gibson.command.code.Entity import
|
5
|
+
from gibson.command.code.Entity import CodeEntity
|
6
6
|
|
7
7
|
|
8
8
|
class Code(BaseCommand):
|
9
9
|
def execute(self):
|
10
10
|
if len(sys.argv) == 4 and sys.argv[2] == "entity":
|
11
|
-
|
11
|
+
CodeEntity(self.configuration).execute()
|
12
12
|
else:
|
13
13
|
self.usage()
|
14
14
|
|
@@ -16,7 +16,7 @@ from gibson.services.code.context.schema.Manager import (
|
|
16
16
|
from gibson.structure.Entity import Entity
|
17
17
|
|
18
18
|
|
19
|
-
class
|
19
|
+
class CodeEntity(BaseCommand):
|
20
20
|
CODE_WRITER_ENTITY_MODIFIER_NOOP = ""
|
21
21
|
|
22
22
|
def __init__(self, configuration: Configuration):
|
@@ -83,17 +83,12 @@ class Entity(BaseCommand):
|
|
83
83
|
cli = Cli(self.configuration)
|
84
84
|
|
85
85
|
self.configuration.require_project()
|
86
|
-
self.configuration.display_project()
|
87
86
|
definition = self.configure_definition()
|
88
87
|
|
89
|
-
self.conversation.c64_boot_search()
|
90
|
-
|
91
88
|
self.__context = CodeContextSchemaManager().from_code_writer_schema_context(
|
92
89
|
cli.code_writer_schema_context()
|
93
90
|
)
|
94
91
|
|
95
|
-
self.conversation.c64_boot_loading()
|
96
|
-
|
97
92
|
data = cli.code_writer_entity_modifier(
|
98
93
|
self.__context.json,
|
99
94
|
sys.argv[3],
|
@@ -102,8 +97,6 @@ class Entity(BaseCommand):
|
|
102
97
|
)
|
103
98
|
entity = Entity().import_from_struct(data)
|
104
99
|
|
105
|
-
self.conversation.c64_ready_run()
|
106
|
-
|
107
100
|
while True:
|
108
101
|
self.__render_workspace(entity, data["code"][0]["definition"])
|
109
102
|
|
@@ -156,10 +149,10 @@ class Entity(BaseCommand):
|
|
156
149
|
entity = Entity().import_from_struct(data)
|
157
150
|
|
158
151
|
def get_default_ref_table_template_path(self):
|
159
|
-
return os.path.dirname(__file__) + "
|
152
|
+
return os.path.dirname(__file__) + "/../../data/default-ref-table.tmpl"
|
160
153
|
|
161
154
|
def get_default_table_template_path(self):
|
162
|
-
return os.path.dirname(__file__) + "
|
155
|
+
return os.path.dirname(__file__) + "/../../data/default-table.tmpl"
|
163
156
|
|
164
157
|
def __render_workspace(self, entity: Entity, model):
|
165
158
|
self.configuration.platform.cmd_clear()
|
@@ -10,6 +10,12 @@ class Projects(BaseCommand):
|
|
10
10
|
self.configuration.require_login()
|
11
11
|
projects = ProjectApi(self.configuration).all_projects()
|
12
12
|
|
13
|
+
if len(projects) == 0:
|
14
|
+
self.conversation.type(
|
15
|
+
f"No projects found. Create one with {Colors.command('gibson')} {Colors.subcommand('new')} {Colors.argument('project')}\n"
|
16
|
+
)
|
17
|
+
exit(1)
|
18
|
+
|
13
19
|
self.conversation.type("Name".ljust(40))
|
14
20
|
self.conversation.type("ID")
|
15
21
|
self.conversation.newline()
|
@@ -2,25 +2,28 @@ import sys
|
|
2
2
|
|
3
3
|
import gibson.core.Colors as Colors
|
4
4
|
from gibson.command.BaseCommand import BaseCommand
|
5
|
-
from gibson.command.
|
6
|
-
from gibson.command.new.
|
5
|
+
from gibson.command.code.Entity import CodeEntity
|
6
|
+
from gibson.command.new.Module import NewModule
|
7
|
+
from gibson.command.new.Project import NewProject
|
7
8
|
|
8
9
|
|
9
10
|
class New(BaseCommand):
|
10
11
|
def execute(self):
|
11
|
-
if len(sys.argv)
|
12
|
+
if not len(sys.argv) >= 3:
|
12
13
|
self.usage()
|
13
14
|
elif sys.argv[2] == "project":
|
14
|
-
|
15
|
+
NewProject(self.configuration).execute()
|
15
16
|
elif sys.argv[2] == "module":
|
16
|
-
|
17
|
+
NewModule(self.configuration).execute()
|
18
|
+
elif sys.argv[2] == "entity":
|
19
|
+
CodeEntity(self.configuration).execute()
|
17
20
|
else:
|
18
21
|
self.usage()
|
19
22
|
|
20
23
|
def usage(self):
|
21
24
|
self.configuration.display_project()
|
22
25
|
self.conversation.type(
|
23
|
-
f"usage: {Colors.command(self.configuration.command)} {Colors.subcommand('new')} {Colors.arguments(['project', 'module'])} {Colors.hint('create something new')}\n"
|
26
|
+
f"usage: {Colors.command(self.configuration.command)} {Colors.subcommand('new')} {Colors.arguments(['project', 'module', 'entity'])} {Colors.hint('create something new')}\n"
|
24
27
|
)
|
25
28
|
self.conversation.type(
|
26
29
|
f" {Colors.command(self.configuration.command)} {Colors.subcommand('new')} {Colors.argument('project')} {Colors.hint('create a new project')}\n"
|
@@ -28,5 +31,8 @@ class New(BaseCommand):
|
|
28
31
|
self.conversation.type(
|
29
32
|
f" {Colors.command(self.configuration.command)} {Colors.subcommand('new')} {Colors.argument('module')} {Colors.hint('create a new module')}\n"
|
30
33
|
)
|
34
|
+
self.conversation.type(
|
35
|
+
f" {Colors.command(self.configuration.command)} {Colors.subcommand('new')} {Colors.argument('entity')} {Colors.hint('create a new entity')}\n"
|
36
|
+
)
|
31
37
|
self.conversation.newline()
|
32
38
|
exit(1)
|
@@ -393,7 +393,7 @@ class Configuration:
|
|
393
393
|
|
394
394
|
def setup_project(self):
|
395
395
|
config = None
|
396
|
-
if len(self.settings.keys()) == 1:
|
396
|
+
if self.settings is not None and len(self.settings.keys()) == 1:
|
397
397
|
config = list(self.settings.values())[0]
|
398
398
|
self.project = Project()
|
399
399
|
self.project.name = list(self.settings.keys())[0]
|
@@ -449,6 +449,7 @@ class Configuration:
|
|
449
449
|
self.require_project()
|
450
450
|
self.settings[self.project.name]["dev"]["active"] = False
|
451
451
|
self.write_config()
|
452
|
+
self.setup_project()
|
452
453
|
return self
|
453
454
|
|
454
455
|
def turn_dev_on(
|
@@ -463,6 +464,7 @@ class Configuration:
|
|
463
464
|
self.settings[self.project.name]["dev"]["model"]["path"] = model_path
|
464
465
|
self.settings[self.project.name]["dev"]["schema"]["path"] = schema_path
|
465
466
|
self.write_config()
|
467
|
+
self.setup_project()
|
466
468
|
return self
|
467
469
|
|
468
470
|
def write_config(self):
|
@@ -66,12 +66,11 @@ __gibson_completions() {
|
|
66
66
|
dev) __gibson_generate_completion "on off" ;;
|
67
67
|
forget) __gibson_generate_completion "stored last all" ;;
|
68
68
|
import) __gibson_generate_completion "api datastore" ;;
|
69
|
-
list) __gibson_generate_completion "entities" ;;
|
70
|
-
new) __gibson_generate_completion "project module" ;;
|
69
|
+
list) __gibson_generate_completion "entities projects" ;;
|
70
|
+
new) __gibson_generate_completion "project module entity" ;;
|
71
|
+
rename) __gibson_generate_completion "entity" ;;
|
71
72
|
rewrite) __gibson_generate_completion "api base models schemas tests" ;;
|
72
|
-
# create) __gibson_generate_completion "project module entity" ;;
|
73
73
|
# project) __gibson_generate_completion "create delete list" ;;
|
74
|
-
# rename) __gibson_generate_completion "entity" ;;
|
75
74
|
esac
|
76
75
|
|
77
76
|
return 0
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/customization/BaseCustomization.py
RENAMED
File without changes
|
{gibson_cli-0.5.4 → gibson_cli-0.5.6}/gibson/services/code/customization/CustomizationManager.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|