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

feat!: use oclif/core v4 #675

Merged
merged 5 commits into from
May 31, 2024
Merged

feat!: use oclif/core v4 #675

merged 5 commits into from
May 31, 2024

Conversation

mdonnalley
Copy link
Contributor

BREAKING CHANGE: remove table-related flags and standardize return value

  • Use @oclif/core v4
  • Remove the following flags
    • --csv
    • --filter
    • --no-header
    • --output

@W-15845231@

BREAKING CHANGE: remove table-related flags and standardize return value
// @ts-expect-error because object-treeify does not have types: https://github.com/blackflux/object-treeify/issues/1077
import treeify from 'object-treeify'
import TtyTable from 'tty-table'
// import {EOL} from 'node:os'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove?


import createCommandTree from '../utils/tree.js'
// import createCommandTree from '../utils/tree.js'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed - sorry for being sloppy!

@iowillhoit
Copy link
Contributor

By default, the command name should not be truncated. Also, ideally the full command name (currently seeing with --no-truncate) should not wrap.

Truncated:
Screenshot 2024-05-31 at 10 37 40 AM

Wrapping command names:
Screenshot 2024-05-31 at 10 40 39 AM

Before this PR:
Screenshot 2024-05-31 at 10 41 12 AM

@iowillhoit
Copy link
Contributor

Much better! Looks good

@iowillhoit iowillhoit merged commit 2c181b1 into main May 31, 2024
10 checks passed
@iowillhoit iowillhoit deleted the mdonnalley/core-v4 branch May 31, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants