Skip to content

Conversation

@dbp
Copy link

@dbp dbp commented Sep 15, 2014

I'm using configurator to drive a rake-like task management tool (which perhaps doesn't matter, but:) and one feature I have is to extend the commands with project specific stuff, like so:

commands {
  command1 = "some shell commands"
  command2 = "..."
}

Which works out well, except that the namespacing for commands are colons, and so I want to be able to write something like:

commands {
  db:migrate:production = "..."
}

But I can't, because colons aren't valid in identifiers. There doesn't seem to be any reason for them not to be legal (they don't appear anywhere else in the grammar or semantics), and it would be really helpful to me (and perhaps others!).

So this PR adds that support (and updates documentation / test suite).

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

Successfully merging this pull request may close these issues.

1 participant