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

implemented FORGE-618 #180

Closed
wants to merge 2 commits into from
Closed

implemented FORGE-618 #180

wants to merge 2 commits into from

Conversation

josedonizetti
Copy link
Contributor

Unix touch command implementation.

}

@DefaultCommand
public void run(@Option(help = "name of file to be touched", required = true) final String fileName)
Copy link
Member

Choose a reason for hiding this comment

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

You can pass a Resource in here. I think you can even pass a FileResource object directly in here

{
this.shell = getShell();
File moduleDir = new File("");
shell.execute("cd " + moduleDir.getAbsolutePath());
Copy link
Member

Choose a reason for hiding this comment

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

Is this really necessary ? I may be wrong, but I think the tests already start in the module path.

@gastaldi gastaldi closed this Aug 2, 2012
@lincolnthree
Copy link
Member

Awesome! Thanks so much Jose! This is another step toward providing a practical next-gen shell replacement/enhancement for developers :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants