linode / linode/linode-cli

[Bug]: object-storage keys-create not displaying keys on small terminals

Open
#825 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
442
Forks
159
Avg merge
7d 21h
Merged PRs (30d)
8

Description

### CLI Version

linode-cli v5.63.0 Built from spec version 4.212.0

**Reproducer**:

1. Make your terminal window a bit smaller than usual
2. run ` $ linode-cli object-storage keys-create .......`
3. observe that the newly created keys were shortened to fit window and thus lost

```
┌──────────────────┬────────┬──────────────────┬─────────┬───────────────────┐
│ access_key │ id │ label │ limited │ secret_key │
├──────────────────┼────────┼──────────────────┼─────────┼───────────────────┤
│ AAAREDACTEDAAAA… │ 123456 │ abc12-something… │ True │ sssREDACTEDyyyyy… │
└──────────────────┴────────┴──────────────────┴─────────┴───────────────────
```

### Expected Behavior

table should not be adjusted to the terminal size

### Actual Behavior

table is adjusted to the view and not to the data that needs to be displayed

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the object-storage keys-create command and its table-rendering path, then reproduce the issue in a narrow terminal using the command shown. Done means the access_key, label, and secret_key values are displayed in full instead of being shortened to fit the terminal width.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.