Skip to content

Conversation

@scotwells
Copy link
Contributor

@scotwells scotwells commented Jan 14, 2026

Registers the new activity CLI so users can query the platform for activity logs. Also adds documentation for the activity logs to provide guidance on how to query audit logs.

Note

I'd love feedback around how we want to organize documentation for this project moving forward. It seems like it would be helpful to organize the documentation similar to how we organize the commands. Thinking documentation could be grouped into folders when there's multiple commands within a group that are related to each other.


Relates to datum-cloud/enhancements#536

Registers the new activity CLI so users can query the platform for
activity logs. Also adds documentation for the activity logs to provide
guidance on how to use the CLI.
@gianarb
Copy link
Collaborator

gianarb commented Jan 14, 2026

Great work, I am not sure how the documentation pipeline works overall and how the documentations coming from the various projects are being merged together but for maintainability I feel like we should try to sneak all the per command documentation into cobra and I think we should build (during release maybe) and validate (in ci/cd) a markdown version for it

https://github.com/spf13/cobra/blob/main/site/content/docgen/md.md

other than we can also generate the man pages and use it if we decide to do distro and package distribution.

To me having some part of the documentation generated from the cobra commands sounds great because we have a single source of truth. We can write "different kind of documentation" such as ctl user guide, tips, changelog or whatever as markdown like we do today but the per command one I think should be generated as much as possible.

For what concerns this PR specifically I think it is good to go, and we can discuss further on the documentation elsewhere.

@scotwells
Copy link
Contributor Author

@gianarb good idea on being able to generate reference CLI documentation from the cobra commands directly! Agree on there being a difference between user guides and command reference documentation.

Maybe user/reference would be a good location for auto-generated documentation and then user/guides would be more guide focused documentation. Something we can play with!

@scotwells scotwells merged commit ad7ae69 into main Jan 14, 2026
1 check passed
@scotwells scotwells deleted the feat/activity-cli branch January 14, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants