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

refactor(oclif): renaming src/cmds to src/commands #1069

Closed
wants to merge 151 commits into from

Conversation

erunion
Copy link
Member

@erunion erunion commented Nov 17, 2024

🧰 Changes

This is a super minor addendum to the oclif work going on in #1068 but I've renamed our src/cmds directory to src/commands as when you run oclif generate command <command name> that's the directory it wants to place a new command into.

We could probably configure src/cmds somehow to be the place it looks but I don't see anything in their config docs about it.

i think this is causing clashes with oclif — plus we may not need it anymore?
- recreate base command auth + flags in oclif
this is probably where should do some error handling too but not sure how yet
this was causing errors in tests, will have to tackle this a different way
@erunion erunion added the refactor Issues about tackling technical debt label Nov 17, 2024
@erunion erunion requested a review from kanadgupta November 17, 2024 20:18
@erunion erunion changed the title chore: renaming src/cmds to src/commands refactor(oclif): renaming src/cmds to src/commands Nov 17, 2024
Copy link
Member

@kanadgupta kanadgupta left a comment

Choose a reason for hiding this comment

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

imma wait until #1068 is merged into next before merging this in because the diff is already crazy

Base automatically changed from oclif-explicit to next November 19, 2024 00:15
@kanadgupta
Copy link
Member

closing in favor of #1070

@kanadgupta kanadgupta closed this Nov 19, 2024
kanadgupta added a commit that referenced this pull request Nov 19, 2024
## 🧰 Changes

recreating @erunion's work in #1069:

> This is a super minor addendum to the oclif work going on in
#1068 but I've renamed our
`src/cmds` directory to `src/commands` as when you run `oclif generate
command <command name>` that's the directory it wants to place a new
command into.
>
> We could _probably_ configure `src/cmds` somehow to be the place it
looks but I don't see anything in their [config
docs](https://oclif.io/docs/config) about it.

Co-authored-by: Jon Ursenbach <[email protected]>
@kanadgupta kanadgupta deleted the feat/oclif-addendums branch November 19, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues about tackling technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants