bcgov / bcgov/smk-cli

smk view sub-command

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
enhancement post-launch
Dominant language
JavaScript
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Add a sub-command to the smk command, called 'view'.
It would immediately display a map in the default browser, with no application or configuration needed.
It would allow options in the command line that mirror the options that SMK can parse in the URL.
For example:
'smk view --center=[LONG],[LAT],[ZOOM]` would open the map centered at LONG,LAT at ZOOM level.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the smk CLI entry point and the existing code that parses SMK options from URLs. Trace how map configuration is opened or served, then define the view command's browser-launch and option-handling boundaries. Done means `smk view` opens a map without application or configuration setup and accepts URL-equivalent options such as `--center`.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.