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

Tools should support absolute paths on the command line #987

Closed
jasonatball opened this issue Apr 30, 2019 · 0 comments
Closed

Tools should support absolute paths on the command line #987

jasonatball opened this issue Apr 30, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@jasonatball
Copy link
Collaborator

@jasonatball jasonatball commented Apr 30, 2019

TlmExtractor is forcing the --config command line option to be inside the tlm_extractor directory:

option_parser.on("-c", "--config FILE", "Use the specified configuration file") do |arg|
  options.config_file = File.join(Cosmos::USERPATH, 'config', 'tools', 'tlm_extractor', arg)

We should provide an option for ALL tools to load configuration files from absolute paths. I think we should default to relative paths from a tool's config/tools/ directory and allow absolute paths.

@jasonatball jasonatball self-assigned this May 28, 2019
@ryanatball ryanatball added this to the v4.4.0 milestone Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants