handle_profile

Function handle_profile 

Source
pub fn handle_profile(args: ProfileArgs) -> Result<()>
Expand description

Handle profile-related commands.

ยงErrors

This function will return an error if:

  • The profile manager cannot be initialized
  • Environment variable loading fails
  • Profile operations fail (create, switch, delete, etc.)
  • File I/O operations fail during profile import/export
  • User input cannot be read from stdin
  • Invalid profile names are provided
  • Profile data cannot be serialized/deserialized