This is to manage the components of campaigns as an admin, or to integrate with external tools (eg. get counters and stats). For the widget builder, check @proca/widget
Proca is an open-source campaign toolkit designed to empower activists and organisations in their digital advocacy efforts. It provides a flexible and customisable platform for creating and managing online petitions, email campaigns, and other forms of digital engagement, enabling users to effectively mobilise supporters and drive social change.
One of Proca's standout features is its robust support for coalition campaigns, allowing multiple organisations to collaborate seamlessly on shared initiatives. This coalition functionality enables partners to pool resources, amplify their collective voice, and reach a broader audience whilst maintaining individual branding and supporter relationships. By facilitating data sharing and joint campaign management, Proca helps coalitions to maximise their impact, streamline operations, and present a united front on critical issues, all whilst ensuring compliance with data protection regulations.
if you have or plan to have multiple servers (eg. production and staging) or multiple users, you can setup multiple environments. each proca command support a --env param (optional, 'default' if not specified.
All the examples are using the default environment, add --env=staging if you need to access another server than your default one. By convention, we keep default for production.
$ npm install -g proca
$# if you don't have your API token, generate one
$ proca user reset --email <your_email> --passowrd <your password>
$ proca config init --token=<API-token>
you can set up the config folder the widget builder will use to store the caches. skip unless you want a different one than the default (your/widget/folder/config).
$ git clone https://github.com/fixthestatusquo/proca-cli.git
$ cd proca-cli
$ npm install
$ npm link # let the proca widget and other use the local version
$./proca-cli config add --env=local --url=http://localhost:4000/api
$./proca-cli config server --env=local #check if the config is working
$./proca-cli config user #check if the config is working
you should also use the local proca-api in your widget generator
$ cd /your/path/to/proca
$ npm link proca # use the local proca-cli repo
proca action add
proca action confirm
proca action count
proca action list [TITLE]
proca action replay
proca campaign add [TITLE]
proca campaign close
proca campaign delete
proca campaign get
proca campaign list [TITLE]
proca campaign mtt
proca campaign status
proca config add [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY]
proca config folder
proca config init [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY]
proca config server
proca config set [KEY] [VALUE]
proca config setup [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY]
proca config user
proca contact count
proca contact list [TITLE]
proca help [COMMAND]
proca org add
proca org crm
proca org delete
proca org email
proca org get
proca plugins
proca plugins add PLUGIN
proca plugins:inspect PLUGIN...
proca plugins install PLUGIN
proca plugins link PATH
proca plugins remove [PLUGIN]
proca plugins reset
proca plugins uninstall [PLUGIN]
proca plugins unlink [PLUGIN]
proca plugins update
proca service add
proca service list
proca target add
proca template add
proca template list
proca user get
proca user join
proca user leave
proca user list
proca user me
proca user reset [USER]
proca user whoami
proca widget add
proca widget get
proca widget list
USAGE
$ proca action add [ID_NAME_DXID...] -i <value> --firstname <value> --email <value>
[--json | --human | --csv] [--env <value>] [--simplify] [-x <value>] [-n <the_short_name>] [--testing] [--optin]
[--action_type <value>] [--lastname <value>] [--street <value>] [--locality <value>] [--region <value>] [--country
<value>] [--utm <value>] [--target <value>] [--subject <value>] [--body <value>]
FLAGS
-i, --id=<value> (required) widget's id
-n, --name=<the_short_name> name
-x, --dxid=<value> dxid
--action_type=<value> [default: register]
--body=<value> [mtt] body of the email
--country=<value> 2-letter country iso code
--email=<value> (required) email
--env=<value> [default: default] allow to switch between configurations (server or users)
--firstname=<value> (required) supporter's firstname
--lastname=<value>
--locality=<value>
--[no-]optin Whether the user opts in (default: false). Use --optin to enable or --no-optin to
explicitly disable.
--region=<value>
--street=<value>
--subject=<value> [mtt] subject of the email
--target=<value> [mtt] uid of the target
--[no-]testing Run action in testing mode (default: true). Use --no-testing to disable.
--utm=<value> utm=campaign.source.medium
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
EXAMPLES
$ proca action add -i <widget_id> --firstname=John --email=john@example.org
$ proca action add -i <widget_id> --firstname=John --email=john@example.org --country=FR custom1=A custom2=B
$ proca action add -i <widget_id> --firstname=John --email=john@example.org target=715a9580-cfe6-4005-9e23-61a62ddecfea --subject='MTT subject' --body='message MTT'
Should the supporter confirm the action?
USAGE
$ proca action confirm --org <value> [--json | --human | --csv] [--env <value>]
[--simplify] [--confirm] [--template <value>]
FLAGS
--confirm should the supporters confirm each action
--env=<value> [default: default] allow to switch between configurations (server or users)
--org=<value> (required) organisation collecting the action
--template=<value> template for sending the message
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
Should the supporter confirm the action?
counter of actions
USAGE
$ proca action count [ID_NAME_DXID] [--json | --human | --csv] [--env <value>]
[--simplify] [-i <value> | -n <the_short_name> | -x <value>]
FLAGS
-i, --id=<value>
-n, --name=<the_short_name> name
-x, --dxid=<value> dxid
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
counter of actions
EXAMPLES
$ proca action count --id <id of the campaign>
$ proca action count --name <name of the campaign>
USAGE
$ proca action list [TITLE] -o <organisation name> [--json | --human | --csv] [--env
<value>] [-c <campaign title>] [--limit <value>] [--today | --after 2025-04-09] [--optin] [--testing] [--doi] [--utm
| --simplify] [--comment | ]
ARGUMENTS
TITLE name of the campaign, % for wildchar
FLAGS
-c, --campaign=<campaign title> name of the campaign, % for wildchar
-o, --org=<organisation name> (required) campaigns of the organisation (coordinator or partner)
--after=2025-04-09 only actions after a date
--[no-]comment display the comment
--doi only export the double optin actions
--env=<value> [default: default] allow to switch between configurations (server or users)
--limit=<value> max number of actions
--optin only export the optin actions
--testing also export the test actions
--today only actions today
--[no-]utm display the utm tracking parameters
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
EXAMPLES
$ proca action list %pizza%
USAGE
$ proca action replay -o <organisation name> [--json | --human | --csv] [--env <value>]
[--simplify] [-c <campaign title>]
FLAGS
-c, --campaign=<campaign title> name of the campaign, % for wildchar
-o, --org=<organisation name> (required) campaigns of the organisation (coordinator or partner)
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
EXAMPLES
$ proca action replay %pizza%
USAGE
$ proca campaign add [TITLE] -n <campaign name> -o <org name> [--json | --human |
--csv] [--env <value>] [--simplify]
ARGUMENTS
TITLE title of the campaign
FLAGS
-n, --name=<campaign name> (required) name of the campaign
-o, --org=<org name> (required) name of the coordinator
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
EXAMPLES
$ proca campaign add -n <new_campaign> the full name of the campaign
USAGE
$ proca campaign close [ID_NAME_DXID] --status draft|live|closed|ignored [--json |
--human | --csv] [--env <value>] [--simplify]
FLAGS
--env=<value> [default: default] allow to switch between configurations (server or users)
--status=<option> (required) Status to set
<options: draft|live|closed|ignored>
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
ALIASES
$ proca campaign close
EXAMPLES
$ proca campaign close -name <campaign>
$ proca campaign close -i <campaign_id>
delete a campaign
USAGE
$ proca campaign delete [--json | --human | --csv] [--env <value>] [--simplify] [-i
<organisation name>] [-n <campaign name>]
FLAGS
-i, --id=<organisation name> id of the campaign
-n, --name=<campaign name> name of the campaign
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
delete a campaign
EXAMPLES
$ proca campaign delete -i 42
view a campaign
USAGE
$ proca campaign get [ID_NAME_DXID] [--json | --human | --csv] [--env <value>]
[--simplify] [-i <value> | -n <the_short_name> | -x <value>] [--config] [--stats] [--locale <value>]
FLAGS
-i, --id=<value>
-n, --name=<the_short_name> name
-x, --dxid=<value> dxid
--[no-]config display the config
--env=<value> [default: default] allow to switch between configurations (server or users)
--locale=<value> display a locale
--[no-]stats display the stats
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
view a campaign
EXAMPLES
$ proca campaign get -i 42
list all the campaigns
USAGE
$ proca campaign list [TITLE] [--json | --human | --csv] [--env <value>] [--simplify]
[-o <organisation name>] [-t <campaign title>] [--stats]
ARGUMENTS
TITLE name of the campaign, % for wildchar
FLAGS
-o, --org=<organisation name> campaigns of the organisation (coordinator or partner)
-t, --title=<campaign title> name of the campaign, % for wildchar
--env=<value> [default: default] allow to switch between configurations (server or users)
--[no-]stats display the stats
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
list all the campaigns
EXAMPLES
$ proca campaign list %pizza%
set the mail to target (mtt) params
USAGE
$ proca campaign mtt [ID_NAME_DXID] --from <value> --to <value> [--json | --human |
--csv] [--env <value>] [--simplify] [-i <value> | -n <the_short_name> | -x <value>] [--template <value>] [--period
<value>] [--email <value>]
FLAGS
-i, --id=<value>
-n, --name=<the_short_name> name
-x, --dxid=<value> dxid
--email=<value> test email address
--env=<value> [default: default] allow to switch between configurations (server or users)
--from=<value> (required) start date (yyyy-mm-dd)
--period=<value> [default: 09:09-18:18] period of the day (HH:HH-HH:HH)
--template=<value> mtt template to use
--to=<value> (required) end date (yyyy-mm-dd)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
set the mail to target (mtt) params
EXAMPLES
$ proca campaign mtt -n <test-mtt-campaign>
USAGE
$ proca campaign status [ID_NAME_DXID] --status draft|live|closed|ignored [--json |
--human | --csv] [--env <value>] [--simplify]
FLAGS
--env=<value> [default: default] allow to switch between configurations (server or users)
--status=<option> (required) Status to set
<options: draft|live|closed|ignored>
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
ALIASES
$ proca campaign close
EXAMPLES
$ proca campaign status -name <campaign>
$ proca campaign status -i <campaign_id>
create setting to access to a server
USAGE
$ proca config add [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY] [--json | --human | --csv]
[--env <value>] [--simplify] [--url http://localhost:4000] [--token API-token>] [--email you@example.org] [--folder
/var/www/proca/config.example]
ARGUMENTS
ENV [default: default] allow to switch between configurations (server or users)
HUMAN [default: true] Format output to be read on screen by a human [default]
JSON Format output as json
CSV Format output as csv
SIMPLIFY flatten and filter to output only the most important attributes, mostly relevant for json
FLAGS
--email=you@example.org user email on proca server
--env=<value> [default: default] allow to switch between configurations (server or users)
--folder=/var/www/proca/config.example config folder (in the proca widget generator)
--token=API-token> user token on proca server
--url=http://localhost:4000 [default: https://api.proca.app/api] url of the proca server api
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
create setting to access to a server
ALIASES
$ proca config setup
$ proca config init
EXAMPLES
$ proca config add --user=xavier@example.org --token=API-12345789
Check and create config folders
USAGE
$ proca config folder [--json | --human | --csv] [--env <value>] [--simplify]
FLAGS
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
Check and create config folders
Check if the PROCA_CONFIG_FOLDER is set up, if it is, check if the required subfolders exists and create if not
create setting to access to a server
USAGE
$ proca config init [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY] [--json | --human | --csv]
[--env <value>] [--simplify] [--url http://localhost:4000] [--token API-token>] [--email you@example.org] [--folder
/var/www/proca/config.example]
ARGUMENTS
ENV [default: default] allow to switch between configurations (server or users)
HUMAN [default: true] Format output to be read on screen by a human [default]
JSON Format output as json
CSV Format output as csv
SIMPLIFY flatten and filter to output only the most important attributes, mostly relevant for json
FLAGS
--email=you@example.org user email on proca server
--env=<value> [default: default] allow to switch between configurations (server or users)
--folder=/var/www/proca/config.example config folder (in the proca widget generator)
--token=API-token> user token on proca server
--url=http://localhost:4000 [default: https://api.proca.app/api] url of the proca server api
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
create setting to access to a server
ALIASES
$ proca config setup
$ proca config init
EXAMPLES
$ proca config init --user=xavier@example.org --token=API-12345789
get the server config
USAGE
$ proca config server [--json | --human | --csv] [--env <value>] [--simplify]
FLAGS
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
get the server config
update the setting used to authenticate to the servers and services
USAGE
$ proca config set [KEY] [VALUE] [--json | --human | --csv] [--env <value>]
[--simplify] [--environment <value>] [--url <url>] [--token <API-token>]
ARGUMENTS
KEY variable name
VALUE value
FLAGS
--env=<value> [default: default] allow to switch between configurations (server or users)
--environment=<value> [default: default] environment
--token=<API-token> user token on proca server
--url=<url> [default: https://api.proca.app/api] url of the proca server api
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
update the setting used to authenticate to the servers and services
ALIASES
$ proca config setup
EXAMPLES
$ proca config set --user=xavier@example.org --token=API-12345789
$ proca config set VAR1 VALUE
create setting to access to a server
USAGE
$ proca config setup [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY] [--json | --human | --csv]
[--env <value>] [--simplify] [--url http://localhost:4000] [--token API-token>] [--email you@example.org] [--folder
/var/www/proca/config.example]
ARGUMENTS
ENV [default: default] allow to switch between configurations (server or users)
HUMAN [default: true] Format output to be read on screen by a human [default]
JSON Format output as json
CSV Format output as csv
SIMPLIFY flatten and filter to output only the most important attributes, mostly relevant for json
FLAGS
--email=you@example.org user email on proca server
--env=<value> [default: default] allow to switch between configurations (server or users)
--folder=/var/www/proca/config.example config folder (in the proca widget generator)
--token=API-token> user token on proca server
--url=http://localhost:4000 [default: https://api.proca.app/api] url of the proca server api
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
create setting to access to a server
ALIASES
$ proca config setup
$ proca config init
EXAMPLES
$ proca config setup --user=xavier@example.org --token=API-12345789
fetch the information about the current user (based on the token)
USAGE
$ proca config user [--json | --human | --csv] [--env <value>] [--simplify]
FLAGS
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
fetch the information about the current user (based on the token)
ALIASES
$ proca user whoami
$ proca user me
EXAMPLES
$ proca config user
counter of supporters
USAGE
$ proca contact count [ID_NAME_DXID] [--json | --human | --csv] [--env <value>]
[--simplify] [-i <value> | -n <the_short_name> | -x <value>]
FLAGS
-i, --id=<value>
-n, --name=<the_short_name> name
-x, --dxid=<value> dxid
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
counter of supporters
EXAMPLES
$ proca contact count --id <id of the campaign>
$ proca contact count --name <name of the campaign>
USAGE
$ proca contact list [TITLE] -o <organisation name> [--json | --human | --csv] [--env
<value>] [-c <campaign title>] [-n <value>] [--today | --after 2025-04-09] [--optin] [--testing] [--doi] [--utm |
--simplify] [--comment | ]
ARGUMENTS
TITLE name of the campaign, % for wildchar
FLAGS
-c, --campaign=<campaign title> name of the campaign, % for wildchar
-n, --limit=<value> max number of actions
-o, --org=<organisation name> (required) campaigns of the organisation (coordinator or partner)
--after=2025-04-09 only actions after a date
--[no-]comment display the comment
--doi only export the double optin actions
--env=<value> [default: default] allow to switch between configurations (server or users)
--optin only export the optin actions
--testing also export the test actions
--today only actions today
--[no-]utm display the utm tracking parameters
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
EXAMPLES
$ proca contact list %pizza%
Display help for proca.
USAGE
$ proca help [COMMAND...] [-n]
ARGUMENTS
COMMAND... Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for proca.
See code: @oclif/plugin-help
USAGE
$ proca org add [--json | --human | --csv] [--env <value>] [--simplify] [--twitter
<screen name>] [-n <org acronym/name>] [-t <org full name>]
FLAGS
-n, --name=<org acronym/name> short name of the org
-t, --title=<org full name> title/full name of the org
--env=<value> [default: default] allow to switch between configurations (server or users)
--twitter=<screen name> twitter account
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
EXAMPLES
$ proca org add --name <twitter of the organisation> --title='this is an organisation'
$ proca org add --twitter <twitter of the organisation>
view a org crm synchroniser
USAGE
$ proca org crm -n <org name> [--json | --human | --csv] [--env <value>]
[--simplify] [--synchronize]
FLAGS
-n, --name=<org name> (required) name of the org
--env=<value> [default: default] allow to switch between configurations (server or users)
--[no-]synchronize enable or disable the synchronisation queue
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
view a org crm synchroniser
USAGE
$ proca org delete [ID_NAME_DXID] [--json | --human | --csv] [--env <value>]
[--simplify] [-i <value> | -n <org name> | -x <value>]
FLAGS
-i, --id=<value>
-n, --name=<org name> name of the org
-x, --dxid=<value> dxid
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
EXAMPLES
$ proca org delete <organisation_name>
Set service, usually email backend for an org
USAGE
$ proca org email [ID_NAME_DXID] --org <value> --mailer mailjet ses stripe
test_stripe system preview webhook supabase smtp [--json | --human | --csv] [--env <value>] [--simplify] [--from
<value>]
FLAGS
--env=<value> [default: default] allow to switch
between configurations (server or users)
--from=<value> Email address to send from (default:
<org>@proca.app)
--mailer=mailjet ses stripe test_stripe system preview webhook supabase smtp (required) [default: MAILJET] service to
send emails
--org=<value> (required) organisation running the
service
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
Set service, usually email backend for an org
view a org
USAGE
$ proca org get [ID_NAME_DXID] [--json | --human | --csv] [--env <value>]
[--simplify] [-n <org name>] [--config] [--keys] [--campaigns] [--users]
FLAGS
-n, --name=<org name> name of the org
--[no-]campaigns
--[no-]config display the config
--env=<value> [default: default] allow to switch between configurations (server or users)
--[no-]keys
--[no-]users
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
view a org
EXAMPLES
$ proca org get <name of the ngo>
List installed plugins.
USAGE
$ proca plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ proca plugins
See code: @oclif/plugin-plugins
Installs a plugin into proca.
USAGE
$ proca plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into proca.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the PROCA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the PROCA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ proca plugins add
EXAMPLES
Install a plugin from npm registry.
$ proca plugins add myplugin
Install a plugin from a github url.
$ proca plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ proca plugins add someuser/someplugin
Displays installation properties of a plugin.
USAGE
$ proca plugins inspect PLUGIN...
ARGUMENTS
PLUGIN... [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ proca plugins inspect myplugin
See code: @oclif/plugin-plugins
Installs a plugin into proca.
USAGE
$ proca plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into proca.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the PROCA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the PROCA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ proca plugins add
EXAMPLES
Install a plugin from npm registry.
$ proca plugins install myplugin
Install a plugin from a github url.
$ proca plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ proca plugins install someuser/someplugin
See code: @oclif/plugin-plugins
Links a plugin into the CLI for development.
USAGE
$ proca plugins link PATH [-h] [--install] [-v]
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
--[no-]install Install dependencies after linking the plugin.
DESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLES
$ proca plugins link myplugin
See code: @oclif/plugin-plugins
Removes a plugin from the CLI.
USAGE
$ proca plugins remove [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ proca plugins unlink
$ proca plugins remove
EXAMPLES
$ proca plugins remove myplugin
Remove all user-installed and linked plugins.
USAGE
$ proca plugins reset [--hard] [--reinstall]
FLAGS
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
--reinstall Reinstall all plugins after uninstalling.
See code: @oclif/plugin-plugins
Removes a plugin from the CLI.
USAGE
$ proca plugins uninstall [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ proca plugins unlink
$ proca plugins remove
EXAMPLES
$ proca plugins uninstall myplugin
See code: @oclif/plugin-plugins
Removes a plugin from the CLI.
USAGE
$ proca plugins unlink [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ proca plugins unlink
$ proca plugins remove
EXAMPLES
$ proca plugins unlink myplugin
Update installed plugins.
USAGE
$ proca plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
See code: @oclif/plugin-plugins
Set service, usually email backend for an org, the specific meaning of each param is dependant on the service
USAGE
$ proca service add -o <value> --type
mailjet|ses|stripe|test_stripe|preview|webhook|supabase|smtp [--json | --human | --csv] [--env <value>] [--simplify]
[--user <value>] [--password <value>] [--host <value>] [--path <value>]
FLAGS
-o, --org=<value> (required) organisation running the service
--env=<value> [default: default] allow to switch between configurations (server or users)
--host=<value> server of the service
--password=<value> credential of the account on the service
--path=<value> path on the service
--type=<option> (required) [default: system] type of the service
<options: mailjet|ses|stripe|test_stripe|preview|webhook|supabase|smtp>
--user=<value> credential of the account on the service
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
Set service, usually email backend for an org, the specific meaning of each param is dependant on the service
list services set for an organisation
USAGE
$ proca service list -o <value> [--json | --human | --csv] [--env <value>]
[--simplify]
FLAGS
-o, --org=<value> (required) organisation running the service
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
list services set for an organisation
USAGE
$ proca target add -c <value> --name <value> --email <value> [--json | --human |
--csv] [--env <value>] [--simplify] [--external_id <value>]
FLAGS
-c, --campaign=<value> (required) mtt campaign to add the target
--email=<value> (required) email of the target
--env=<value> [default: default] allow to switch between configurations (server or users)
--external_id=<value> external id of the target
--name=<value> (required) name of the target
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
USAGE
$ proca template add -o <value> [--json | --human | --csv] [--env <value>] [--simplify]
[--type thankyou|doi|confirm|doi_thankyou|doi_confirm] [-l <locale>] [-n by default type@language] [-s 'template:'
+ type]
FLAGS
-l, --lang=<locale> [default: en] language
-n, --name=by default type@language name
-o, --org=<value> (required) organisation
-s, --subject='template:' + type subject
--env=<value> [default: default] allow to switch between configurations (server or users)
--type=<option> [default: thankyou]
<options: thankyou|doi|confirm|doi_thankyou|doi_confirm>
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
list services set for an organisation
USAGE
$ proca template list -o <value> [--json | --human | --csv] [--env <value>]
[--simplify]
FLAGS
-o, --org=<value> (required) organisation having the templates
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
list services set for an organisation
fetch the information about a user
USAGE
$ proca user get [--json | --human | --csv] [--env <value>] [--simplify] [--email
<value>] [-o <org name>] [-i <value>]
FLAGS
-i, --id=<value> id of the user
-o, --org=<org name> name of the org
--email=<value> user email
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
fetch the information about a user
EXAMPLES
$ proca user get
let a user join an organisation with a role
USAGE
$ proca user join -o <org name> [--json | --human | --csv] [--env <value>]
[--simplify] [--user <value>] [--role owner|campaigner|coordinator|translator]
FLAGS
-o, --org=<org name> (required) name of the org
--env=<value> [default: default] allow to switch between configurations (server or users)
--role=<option> [default: campaigner] permission level in that org
<options: owner|campaigner|coordinator|translator>
--user=<value> user email
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
let a user join an organisation with a role
EXAMPLES
$ proca user join
leave a org
USAGE
$ proca user leave -o <org name> [--json | --human | --csv] [--env <value>]
[--simplify] [--email <user email>]
FLAGS
-o, --org=<org name> (required) name of the org
--email=<user email> email
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
leave a org
EXAMPLES
$ proca user leave -i 42
list all the users
USAGE
$ proca user list -o <value> [--json | --human | --csv] [--env <value>]
[--simplify]
FLAGS
-o, --org=<value> (required) organisation
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
list all the users
EXAMPLES
$ proca user list %pizza%
fetch the information about the current user (based on the token)
USAGE
$ proca user me [--json | --human | --csv] [--env <value>] [--simplify]
FLAGS
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
fetch the information about the current user (based on the token)
ALIASES
$ proca user whoami
$ proca user me
EXAMPLES
$ proca user me
Reset user API token
USAGE
$ proca user reset [USER] [--json | --human | --csv] [--env <value>] [--simplify]
[--password <value>] [--url <value>]
ARGUMENTS
USER Username (email)
FLAGS
--env=<value> [default: default] allow to switch between configurations (server or users)
--password=<value> Password
--url=<value> URL of the Proca server API
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
Reset user API token
fetch the information about the current user (based on the token)
USAGE
$ proca user whoami [--json | --human | --csv] [--env <value>] [--simplify]
FLAGS
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
fetch the information about the current user (based on the token)
ALIASES
$ proca user whoami
$ proca user me
EXAMPLES
$ proca user whoami
USAGE
$ proca widget add -c <campaign name> [--json | --human | --csv] [--env <value>]
[--simplify] [-o <en>] [-l <en>] [-n by default <campaign>/<org>/<lang>]
FLAGS
-c, --campaign=<campaign name> (required) name of the campaign
-l, --lang=<en> [default: en] language
-n, --name=by default <campaign>/<org>/<lang> url slug
-o, --org=<en> organisation
--env=<value> [default: default] allow to switch between configurations (server or
users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
view a widget
USAGE
$ proca widget get [ID_NAME_DXID] [--json | --human | --csv] [--env <value>]
[--simplify] [-i <value> | -n <the_short_name> | -x <value>] [--config]
FLAGS
-i, --id=<value>
-n, --name=<the_short_name> name
-x, --dxid=<value> dxid
--[no-]config display the config
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
view a widget
EXAMPLES
$ proca widget get <path of the widget>
list all the widgets of an org or campaign
USAGE
$ proca widget list [--json | --human | --csv] [--env <value>] [--simplify] [-o
<organisation name>] [-c <campaign name>] [--config]
FLAGS
-c, --campaign=<campaign name> widgets of the campaign (coordinator or partner)
-o, --org=<organisation name> widgets of the organisation (coordinator or partner)
--[no-]config get the config
--env=<value> [default: default] allow to switch between configurations (server or users)
OUTPUT FLAGS
--csv Format output as csv
--human Format output to be read on screen by a human [default]
--json Format output as json
--[no-]simplify flatten and filter to output only the most important attributes, mostly relevant for json
DESCRIPTION
list all the widgets of an org or campaign
EXAMPLES
$ proca widget list -o <organisation>