Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

clk in inference #11

Open
mndrix opened this issue Jun 21, 2010 · 2 comments
Open

clk in inference #11

mndrix opened this issue Jun 21, 2010 · 2 comments
Labels

Comments

@mndrix
Copy link
Owner

mndrix commented Jun 21, 2010

I often clk in to work on items where the default format for specifying tags and the message is redundant. For instance, when reviewing a changeset for one client, I naturally copy text like foo-selenium#e1234 into the copy buffer. I then immediately do

clk in .client .foo .review foo-selenium#e1234

with my old clk program, I could do

clk in review foo-selenium#e1234

which expanded to something like the first example.

It would be convenient if there were a "pre-in" hook which received all the clk in command line arguments as command line arguments. It would print a list of command line arguments to STDOUT which clk would use as its actual command line arguments.

This same mechanism could be used for catching typos too. If the pre-in script exited with an error code, the clk in would halt and the hook's STDERR would be displayed to the user.

@mndrix
Copy link
Owner Author

mndrix commented Jun 30, 2010

I wanted this again today for the exact same use case as described above

@mndrix
Copy link
Owner Author

mndrix commented Jun 30, 2010

Another use case is when I do

clk in .ndrix accounting

I only ever do accounting for Hendricks Solutions, so the .ndrix is redundant. I should be able to say

clk in accounting

to get the exact same effect

@mndrix mndrix added the feature label Jul 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant