Writing See the examples under https://github.com/salesforce/policy_sentry/tree/master/examples/library-usage/writing. command.write_policy