Skip to content

Commit

Permalink
chore: remove CLI component
Browse files Browse the repository at this point in the history
As it is not very interesting, and not a useful test.

Signed-off-by: JP-Ellis <josh@jpellis.me>
  • Loading branch information
JP-Ellis committed Nov 19, 2024
1 parent 548903e commit a2eec78
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 343 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.11", "3.12"]
directory: [".", "pypacter-api", "pypacter-cli"]
directory: [".", "pypacter-api"]

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 1 addition & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"python.testing.pytestArgs": [
"tests",
"pypacter-api/tests",
"pypacter-cli/tests"
],
"python.testing.pytestArgs": ["tests", "pypacter-api/tests"],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"ruff.importStrategy": "fromEnvironment"
Expand Down
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ code is tested. This project uses the [pytest](https://docs.pytest.org/en/stable
## Development

This project uses [Hatch](https://hatch.pypa.io) for managing the development
environment. The code is split across three packages:
environment. The code is split across two packages:

- `pypacter`: The core logic
- `pypacter-api`: API wrapper
- `pypacter-cli`: CLI to interact with the API

The structure of the project is as follows:

Expand All @@ -47,16 +46,10 @@ pypacter/
│ ├── tests/
│ ├── pyproject.toml
│ └── README.md
├── pypacter-cli/ <== CLI to interact with API
│ ├── src/pypacter_cli/
│ ├── tests/
│ ├── pyproject.toml
│ └── README.md
├── notebooks/ <== Jupyter notebooks (if any)
├── src/
│ └── pypacter/ <== Core logic
├── tests/
├── mkdocs.yml
├── pyproject.toml
└── README.md
```
Expand Down
1 change: 0 additions & 1 deletion pypacter-cli/LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion pypacter-cli/README.md

This file was deleted.

147 changes: 0 additions & 147 deletions pypacter-cli/pyproject.toml

This file was deleted.

106 changes: 0 additions & 106 deletions pypacter-cli/src/pypacter_cli/__init__.py

This file was deleted.

Empty file.
40 changes: 0 additions & 40 deletions pypacter-cli/src/pypacter_cli/util.py

This file was deleted.

11 changes: 0 additions & 11 deletions pypacter-cli/tests/ruff.toml

This file was deleted.

17 changes: 0 additions & 17 deletions pypacter-cli/tests/test_cli.py

This file was deleted.

Loading

0 comments on commit a2eec78

Please sign in to comment.