-
Notifications
You must be signed in to change notification settings - Fork 88
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
Add documentation for MapboxDirectionsCLI tool #586
Conversation
b2deb17
to
f41916e
Compare
@@ -687,6 +688,7 @@ | |||
8A41B0FC24F5C2390021FFDC /* CHANGELOG.md */, | |||
438BFEBC233D7FA900457294 /* Package.swift */, | |||
438BFEC0233D805500457294 /* README.md */, | |||
C318CBE626E1B29400E42936 /* MapboxDirectionsCLI.md */, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps CommandLineTool.md would be more discoverable.
MapboxDirectionsCLI.md
Outdated
# Mapbox Directions CLI | ||
|
||
## Getting Started | ||
`MapboxDirectionsCLI` is a command line tool, designed to round-trip an arbitrary, JSON-formatted Directions or Map Matching API response through model objects and back to JSON. This is useful for various scenarios including testing purposes and designing more sophisticated API response processing pipelines. It is supplied as a Swift package. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
“MapboxDirectionsCLI” isn’t a name we seem to be using anywhere from a user perspective.
`MapboxDirectionsCLI` is a command line tool, designed to round-trip an arbitrary, JSON-formatted Directions or Map Matching API response through model objects and back to JSON. This is useful for various scenarios including testing purposes and designing more sophisticated API response processing pipelines. It is supplied as a Swift package. | |
`mapbox-directions-swift` is a command line tool, designed to round-trip an arbitrary, JSON-formatted Directions or Map Matching API response through model objects and back to JSON. This is useful for various scenarios including testing purposes and designing more sophisticated API response processing pipelines. It is supplied as a Swift package. |
By the way, this description will need to be revisited as part of #576, which makes the tool into a more straightforward command-line version of normal usage of the library.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add a note to that pr as a reminder.
"MapboxDirectionsCLI" is the name of the target. We should change references to the tool to "mapbox-directions-swift" but keep references to "MapboxDirectionsCLI" for the build instructions.
README.md
Outdated
@@ -217,6 +217,8 @@ To run (and build if it wasn't yet) `MapboxDirectionsCLI` and see usage: | |||
|
|||
1. `swift run mapbox-directions-swift -h` | |||
|
|||
For further details, see the [MapboxDirectionsCLI documentation](ADD LINK). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Subject to the suggestion above:
For further details, see the [MapboxDirectionsCLI documentation](ADD LINK). | |
For further details, see the [MapboxDirectionsCLI documentation](MapboxDirectionsCLI.md). |
f2ff0a9
to
2e7146b
Compare
This PR fixes #585 by adding documentation for the MapboxDirectionsCLI tool.