Skip to content

devsync profile

List available profiles and switch the active profile.

Terminal window
devsync profile list
devsync profile use [profile]

Profiles let you organize tracked entries by machine or context. When a profile is active, push, pull, and status only operate on entries that either belong to that profile or have no profile assigned (global entries).

Profile names are free-form strings (e.g. work, personal, home-mac). They are stored in manifest.json alongside the entries that reference them. The active profile is persisted in ~/.config/devsync/settings.json.


Lists all profile names referenced across all entries in manifest.json. Highlights the profile currently set as active.

FlagDescription
--verbosePrint detailed output.
Terminal window
devsync profile list
Available profiles:
work
personal
* home-mac ← active

Sets the active profile in ~/.config/devsync/settings.json. Subsequent push, pull, and status invocations will use this profile unless overridden with --profile.

Omit the profile name argument to clear the active profile. When no profile is active, only global entries (those with no profile assigned) are included in sync operations.

ArgumentDescription
profileOptional. The name of the profile to activate. Omit to clear the active profile.
FlagDescription
--verbosePrint detailed output.
Terminal window
# Activate the "work" profile
devsync profile use work

The --profile flag on push, pull, and status provides a one-time override without changing the active profile in settings.json.

Terminal window
# Temporarily check status for the "personal" profile
devsync status --profile personal
# The active profile is unchanged after this command
devsync profile list # still shows the previous active profile