app
Command-line-interface for project-operations in dapla-jupterlab.
build(path=typer.Argument(None, help='Project path'), verify_config=typer.Option(True, '--no-verify', help='Verify git configuration files. Use --no-verify to disable verification (defaults to True).', show_default=True), no_kernel=False)
:wrench: Create a virtual environment and corresponding Jupyter kernel. Runs in the current folder if no arguments are supplied.
Source code in ssb_project_cli/ssb_project/app.py
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
|
clean(project_name=typer.Argument(..., help='The name of the project/kernel you want to delete.'))
:broom: Delete the kernel for the given project name.
Source code in ssb_project_cli/ssb_project/app.py
154 155 156 157 158 159 160 161 |
|
create(project_name=typer.Argument(..., help='Project name'), description=typer.Argument('', help='A short description of your project'), repo_privacy=typer.Argument(RepoPrivacy.internal, help='Visibility of the Github repo'), add_github=False, github_token='', verify_config=True, template_git_url=STAT_TEMPLATE_REPO_URL, checkout=None, name=None, email=None, no_kernel=False)
:sparkles: Create a project locally, and optionally on GitHub with the flag --github. The project will follow SSB's best practice for development.
Source code in ssb_project_cli/ssb_project/app.py
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
|
main()
Main function of ssb_project_cli.
Source code in ssb_project_cli/ssb_project/app.py
164 165 166 167 |
|