Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: jans-cli-tui documentation and setup #3818

Merged
merged 1 commit into from
Feb 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jans-cli-tui/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ uninstall:
pip3 uninstall jans-cli-tui -y

zipapp:
shiv --compressed -o config-cli-tui.pyz -p '/usr/bin/env python3' -e cli_tui.jans_cli_tui:run . --no-cache
shiv --compressed -o jans-cli-tui.pyz -p '/usr/bin/env python3' -e cli_tui.jans_cli_tui:run . --no-cache
8 changes: 4 additions & 4 deletions jans-cli-tui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ If you would like to build `jans-cli` manually, you can go through the following

```sh
unzip main.zip
cd jans-main/jans-cli
cd jans-main/jans-cli-tui
```

4. Build
Expand All @@ -65,7 +65,7 @@ If you would like to build `jans-cli` manually, you can go through the following
You can verify with the following command line if everything is done successfully.

```
python3 config-cli.pyz -h
python3 jans-cli-tui.pyz
```


Expand All @@ -87,11 +87,11 @@ python3 config-cli.pyz -h
```
wget https://github.com/JanssenProject/jans/archive/refs/heads/main.zip
unzip main.zip
cd jans-main/jans-cli
cd jans-main/jans-cli-tui
make install
```

This command will install executable called `jans-cli` available in virtual environment `PATH`.
This command will install executable called `jans-cli` and `jans-cli-tui` available in virtual environment `PATH`.


![](../docs/assets/image-build-jans-cli-pyz-manually-03042021.png)
Expand Down
2 changes: 1 addition & 1 deletion jans-cli-tui/docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ make zipapp
### Execute

```
./config-cli-tui.pyz
./jans-cli-tui.pyz
```

It will ask credentials unless you have no ~/.config/jans-cli.ini. Login to Jans server and get
Expand Down
4 changes: 2 additions & 2 deletions jans-cli-tui/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ def find_version(*file_paths):

entry_points={
"console_scripts": [
"config-cli-tui=cli_tui.jans_cli_tui:run",
"config-cli=cli_tui.cli.config_cli:main",
"jans-cli-tui=cli_tui.jans_cli_tui:run",
"jans-cli=cli_tui.cli.config_cli:main",
"scim-cli=cli_tui.cli.config_cli:main",
],
},
Expand Down