-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust gridtk list output to fit terminal width
Fixes #13 Adjust the `gridtk list` output to fit terminal width and add a `--full-output` option. * **src/gridtk/cli.py** - Update the `list_jobs` function to adjust column widths based on terminal size. - Add logic to truncate long content with ellipses in the `list_jobs` function. - Add a new option `--full-output` to the `list_jobs` command to view the full output without truncation. * **tests/test_gridtk.py** - Add unit tests to verify the new behavior of the `gridtk list` command. - Add unit tests to verify the `--full-output` option for the `gridtk list` command. * **README.md** - Update the documentation to reflect the new behavior of the `gridtk list` command. - Add information about the `--full-output` option for the `gridtk list` command. * **.devcontainer.json** - Add a devcontainer configuration file with tasks for testing, building, and launching the project. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/idiap/gridtk/issues/13?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
4 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"tasks": { | ||
"test": "pixi run test", | ||
"build": "pixi install", | ||
"launch": "pixi run gridtk" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters