chore(cmd): updates Shorts, and test expectations.

This commit is contained in:
Lewis Wynne 2025-12-23 08:42:20 +00:00
parent ef597c5f22
commit 9467675715
16 changed files with 60 additions and 49 deletions

View file

@ -30,8 +30,13 @@ import (
)
var gitCmd = &cobra.Command{
Use: "git [args...]",
Short: "Run git in the pda VCS repository",
Use: "git [args...]",
Short: "Run any arbitrary command. Use with caution.",
Long: `Run any arbitrary command. Use with caution.
Be wary of how pda! version control operates before using this. Regular data is stored in "PDA_DATA/pda/stores" as a database; the Git repository is in "PDA_DATA/pda/vcs" and contains a replica of the database stored as plaintext.
The regular sync command (or auto-syncing) exports pda! data into plaintext in the Git repository. If you manually modify the repository without using the built-in commands, or exporting your data to the folder in the correct format first, you may desynchronize your repository.`,
Args: cobra.ArbitraryArgs,
DisableFlagParsing: true,
SilenceUsage: true,