Skip to content

Enhance load command with file and preset subcommands #56

@em3s

Description

@em3s

Background

Improving Quick Start experience as part of #55.

Task

Split load command into load file and load preset for clarity.

1. Rename load to load file

Current:

actionbase> load ./my-data.yaml

New:

actionbase> load file ./my-data.yaml

2. Add load preset command

Load preset data from GitHub repository.

actionbase> load preset likes

Internally fetches from:

https://raw.githubusercontent.com/kakao/actionbase/main/examples/presets/likes.yaml

where examples/presets is the preset directory in the repository.

Note: load preset likes internally maps to likes.yaml

3. Support specific version for load preset

actionbase> load preset likes                     # main branch (default)
actionbase> load preset likes --ref abc1234       # specific commit
actionbase> load preset likes --ref v1.0.0        # specific tag

Done When

load file and load preset commands implemented.

Notes

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestscope:cliCommand-line interface (Go)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions