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

scoped commands #5

Open
Jomy10 opened this issue Sep 12, 2023 · 1 comment
Open

scoped commands #5

Jomy10 opened this issue Sep 12, 2023 · 1 comment

Comments

@Jomy10
Copy link
Owner

Jomy10 commented Sep 12, 2023

Add a scope. commands defined in this scope should be called with
./make.rb scope_name:command_name

Should also work when importing a file using require, e.g:

scope(:my_scope) {
  require_relative 'other.rb'
}
@Jomy10
Copy link
Owner Author

Jomy10 commented Dec 31, 2023

Can be achieved with Projects (currently not working with multiple projects);

./make.rb MyProjects/MyCommand

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

No branches or pull requests

1 participant