https://pantsbuild.org/ logo
#development
Title
# development
h

hundreds-father-404

01/08/2020, 6:12 PM
Copy code
▶ ./pants isort --skip
Scrubbed PYTHONPATH=/Users/eric/DocsLocal/code/projects/pants/src/python: from the environment.
timestamp: 2020-01-08T11:12:06.450011
Exception caught: (builtins.KeyError)
  File "/Users/eric/DocsLocal/code/projects/pants/src/python/pants/bin/pants_loader.py", line 85, in <module>
    main()
  File "/Users/eric/DocsLocal/code/projects/pants/src/python/pants/bin/pants_loader.py", line 81, in main
    PantsLoader.run()
  File "/Users/eric/DocsLocal/code/projects/pants/src/python/pants/bin/pants_loader.py", line 77, in run
    cls.load_and_execute(entrypoint)
  File "/Users/eric/DocsLocal/code/projects/pants/src/python/pants/bin/pants_loader.py", line 70, in load_and_execute
    entrypoint_main()
  File "/Users/eric/DocsLocal/code/projects/pants/src/python/pants/bin/pants_exe.py", line 32, in main
    PantsRunner(start_time=start_time).run()
  File "/Users/eric/DocsLocal/code/projects/pants/src/python/pants/bin/pants_runner.py", line 106, in run
    return runner.run()
  File "/Users/eric/DocsLocal/code/projects/pants/src/python/pants/bin/local_pants_runner.py", line 253, in run
    self._run()
  File "/Users/eric/DocsLocal/code/projects/pants/src/python/pants/bin/local_pants_runner.py", line 330, in _run
    engine_result = self._maybe_run_v2()
  File "/Users/eric/DocsLocal/code/projects/pants/src/python/pants/bin/local_pants_runner.py", line 301, in _maybe_run_v2
    self._target_roots,
  File "/Users/eric/DocsLocal/code/projects/pants/src/python/pants/init/engine_initializer.py", line 223, in run_console_rules
    goal_product = self.goal_map[goal]

Exception message: 'isort'
I think this should stay the case. It complicates the grammar too much imo to have the ambiguity between goals vs subsystems