sf.cli.configure

configure(args)[source]

An auxiliary function for configuring the API connection to the Xanadu cloud platform.

Can be used to simply save the authentication token with default configuration options. Alternatively, a wizard is provided for full configurability.

See more details regarding Strawberry Fields configuration and available configuration options on the sf.configuration page.

Parameters

args (ArgumentParser) – arguments that were specified on the command line stored as attributes in an argument parser object