mapbox / mapbox/togeojson

Command "togeojson" not found when executing with CLI through .bat file

Open
#180 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
322
PR merge metrics
No merged PRs in 30d

Description

The command is working fine when manually opening the CLI and typing it in, but if you try to run the command through a batch file the CLI returns an error stating that the "togeojson" command is either written wrong or could not be found.

The same issue appears when I try to open the CLI through code (C#) and pass the command as an argument.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the togeojson CLI invocation from a Windows .bat file and from C# using the command and error described in the issue. Compare those results with manually opening the CLI; done means both non-interactive entry points can find and execute the togeojson command.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, javascript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.