Skip to content

Commit

Permalink
Remove deprecated 'neuro project init' command (#2502)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored Dec 28, 2021
1 parent a17de60 commit e94b62d
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 191 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.D/2502.removal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove deprecated `neuro project init` command.
62 changes: 0 additions & 62 deletions CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@
* [neuro job save](#neuro-job-save)
* [neuro job status](#neuro-job-status)
* [neuro job top](#neuro-job-top)
* [neuro project](#neuro-project)
* [neuro project init](#neuro-project-init)
* [neuro secret](#neuro-secret)
* [neuro secret add](#neuro-secret-add)
* [neuro secret ls](#neuro-secret-ls)
Expand Down Expand Up @@ -177,7 +175,6 @@ Name | Description|
| _[neuro disk](#neuro-disk)_| Operations with disks |
| _[neuro image](#neuro-image)_| Container image operations |
| _[neuro job](#neuro-job)_| Job operations |
| _[neuro project](#neuro-project)_| \(Deprecated) Project operations |
| _[neuro secret](#neuro-secret)_| Operations with secrets |
| _[neuro service-account](#neuro-service-account)_| Operations with service accounts |
| _[neuro storage](#neuro-storage)_| Storage operations |
Expand Down Expand Up @@ -2496,65 +2493,6 @@ Name | Description|



## neuro project

Project operations. \(DEPRECATED)

**Usage:**

```bash
neuro project [OPTIONS] COMMAND [ARGS]...
```

**Options:**

Name | Description|
|----|------------|
|_--help_|Show this message and exit.|


**Commands:**

|Usage|Description|
|---|---|
| _[neuro project init](#neuro-project-init)_| \(Deprecated) Initialize an empty project |




### neuro project init

Initialize an empty project.<br/><br/> \(DEPRECATED)<br/>

**Usage:**

```bash
neuro project init [OPTIONS] [NAME]
```

**Examples:**

```bash

# Initializes a scaffolding for the new project with the recommended project
# structure (see http://github.com/neuro-inc/cookiecutter-neuro-project)
neuro project init

# Initializes a scaffolding for the new project with the recommended project
# structure and sets the project name to 'my-project'
neuro project init my-project

```

**Options:**

Name | Description|
|----|------------|
|_--help_|Show this message and exit.|




## neuro secret

Operations with secrets.
Expand Down
1 change: 0 additions & 1 deletion SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* [disk](neuro-cli/docs/disk.md)
* [image](neuro-cli/docs/image.md)
* [job](neuro-cli/docs/job.md)
* [project](neuro-cli/docs/project.md)
* [secret](neuro-cli/docs/secret.md)
* [service-account](neuro-cli/docs/service-account.md)
* [shortcuts](neuro-cli/docs/shortcuts.md)
Expand Down
53 changes: 0 additions & 53 deletions neuro-cli/docs/project.md

This file was deleted.

1 change: 0 additions & 1 deletion neuro-cli/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ install_requires =
# certifi has no version requirement
# CLI raises a warning for outdated package instead
certifi
cookiecutter>=1.7
wcwidth>=0.1.7
prompt-toolkit>=3.0.13
rich>=10.0.1
Expand Down
1 change: 0 additions & 1 deletion neuro-cli/src/neuro_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ def _pre_load(self, name: Optional[str] = None) -> None:
# groups
"admin": "neuro_cli.admin:admin",
"job": "neuro_cli.job:job",
"project": "neuro_cli.project:project",
"storage": "neuro_cli.storage:storage",
"image": "neuro_cli.image:image",
"config": "neuro_cli.config:config",
Expand Down
50 changes: 0 additions & 50 deletions neuro-cli/src/neuro_cli/project.py

This file was deleted.

22 changes: 0 additions & 22 deletions neuro-cli/tests/unit/test_project.py

This file was deleted.

1 change: 0 additions & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ packaging==21.3
python-dateutil==2.8.2
python-jose==3.3.0
pyyaml==6.0
requests==2.26.0
rich==10.16.1
toml==0.10.2
typing_extensions==4.0.1
Expand Down

0 comments on commit e94b62d

Please sign in to comment.