Skip to content

v0.1.4

Choose a tag to compare

@sebrandon1 sebrandon1 released this 09 Jun 13:04
6ff5fb5

What's Changed

  • feat: add skylight category create --name NAME [--color COLOR] command — full CRUD for profiles and labels (#146)
  • docs: rename all CLI examples from go-skylight to skylight to match the actual binary name (#145, #146)
  • docs: add unofficial tool disclaimer to README (#146)
  • fix: flaky integration tests — retry chore list for API eventual consistency, skip reward redeem when account lacks points (#146)

Example: Create, Rename, and Delete a Profile

# Create a new profile
$ skylight category create --name "u10 Sports" --color "#FF6600"
{"id": "21058339", "label": "u10 Sports", "color": "#FF6600"}

# Rename it
$ skylight category update --category-id 21058339 --name "u12 Sports"
{"id": "21058339", "label": "u12 Sports", "color": "#FF6600"}

# Delete it when no longer needed
$ skylight category delete --category-id 21058339
Category deleted successfully

Warning: Deleting a category cascades — all chores and events attached to it are also deleted.