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

dylan new dependency #17

Open
cgay opened this issue Oct 23, 2022 · 2 comments
Open

dylan new dependency #17

cgay opened this issue Oct 23, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@cgay
Copy link
Member

cgay commented Oct 23, 2022

For later... It might be worth having a dylan new [dev] dependency pkg1 [pkg2 ...] subcommand since it could

  • verify that the dep exists
  • verify that the dep doesn't conflict
  • prevent simple syntax errors in the package file
@cgay cgay added the enhancement New feature or request label Oct 23, 2022
@housel
Copy link
Member

housel commented Oct 24, 2022

Most things I've seen that have this don't need a separate dependency keyword, they just treat every positional arg after the first one as a dependency.

@cgay
Copy link
Member Author

cgay commented Oct 24, 2022

Are you arguing against the use of multi-level subcommands like new library, new application, and new dependency?

The [dev] in the original description might've been confusing, but the idea was to add two new subcommands to the new subcommand:

  1. dylan new dependency
  2. dylan new dev dependency

This whole multi-level subcommand idea would be a lot nicer with LispM-like completion facilities, or at a minimum, with the ability to abbreviate to anything that uniquely names a full command, like dylan new d d or dylan new app.

cgay referenced this issue in cgay/dylan-tool Feb 21, 2024
See comment in diffs for details.

Fixes #40
@cgay cgay reopened this Apr 21, 2024
@cgay cgay transferred this issue from dylan-lang/dylan-tool Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants