pdk rake and/or ability to create pdk aliases within a repo (like in git)
#1206
Unanswered
jay7x
asked this question in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm a bit tired to type
pdk bundle exec rakeevery time I need to run some rake task within a PDK-managed repository.. So I'd like to havepdk rakealias for this. Though going further someone may ask forpdk rspecetc.. so to prevent pandora box from being opened maybe it's better to implement general solution like "pdk aliases". This should work in similar way as it's done ingite.g. I.e. one can use PDK configuration to define aliases globally/per-user/per-repo (in same way as PDK config is read IIRC).Why not shell alias? Because you should configure the alias yourself in your shell.. while PDK alias can be defined in a repository. So your end-user might start using it w/o need to configure any shell aliases.
Config might look like this:
Though maybe I'd even prefer this to be able to execute 3rd party apps.. and then config should looks like this (just random things out of my head):
Ideally I'd prefer to have ability to define subcommands as well.. e.g. to define
validate-yamllintabove as theyamllintsubcommand of thevalidatecommand. Though one shouldn't be able to override any existing command so maybe it is too much.Beta Was this translation helpful? Give feedback.
All reactions