
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
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 addproca action countproca action list [TITLE]proca action replayproca campaign add [TITLE]proca campaign closeproca campaign deleteproca campaign getproca campaign list [TITLE]proca campaign mttproca campaign statusproca config add [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY]proca config folderproca config init [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY]proca config serverproca config set [KEY] [VALUE]proca config setup [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY]proca config userproca contact countproca contact list [TITLE]proca help [COMMAND]proca org addproca org crmproca org deleteproca org getproca org joinproca pluginsproca plugins add PLUGINproca plugins:inspect PLUGIN...proca plugins install PLUGINproca plugins link PATHproca plugins remove [PLUGIN]proca plugins resetproca plugins uninstall [PLUGIN]proca plugins unlink [PLUGIN]proca plugins updateproca target addproca user getproca user leaveproca user listproca user reset [USER]proca user whoamiproca widget addproca widget getproca widget listproca action addUSAGE
$ 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>
--optin
--region=<value>
--street=<value>
--subject=<value> [mtt] subject of the email
--target=<value> [mtt] uid of the target
--testing
--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'
proca action countcounter 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>
proca action list [TITLE]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%
proca action replayUSAGE
$ 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%
proca campaign add [TITLE]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
proca campaign closeUSAGE
$ 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>
proca campaign deletedelete 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
proca campaign getview 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
proca campaign list [TITLE]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%
proca campaign mttset 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>
proca campaign statusUSAGE
$ 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>
proca config add [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY]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
proca config folderCheck 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
proca config init [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY]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
proca config serverget 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
proca config set [KEY] [VALUE]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
proca config setup [ENV] [HUMAN] [JSON] [CSV] [SIMPLIFY]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
proca config userfetch 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
EXAMPLES
$ proca config user
proca contact countcounter 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>
proca contact list [TITLE]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%
proca help [COMMAND]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
proca org addUSAGE
$ 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>
proca org crmview 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
proca org deleteUSAGE
$ 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>
proca org getview 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>
proca org joinlet a user join an organisation with a role
USAGE
$ proca org 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 org join
proca pluginsList 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
proca plugins add PLUGINInstalls 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
proca plugins:inspect PLUGIN...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
proca plugins install PLUGINInstalls 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
proca plugins link PATHLinks 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
proca plugins remove [PLUGIN]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
proca plugins resetRemove 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
proca plugins uninstall [PLUGIN]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
proca plugins unlink [PLUGIN]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
proca plugins updateUpdate 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
proca target addUSAGE
$ 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
proca user getfetch 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
proca user leaveleave a org
USAGE
$ proca user leave --email <user email> -o <org name> [--json | --human | --csv]
[--env <value>] [--simplify]
FLAGS
-o, --org=<org name> (required) name of the org
--email=<user email> (required) 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
proca user listlist 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%
proca user reset [USER]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
proca user whoamifetch 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
EXAMPLES
$ proca user whoami
proca widget addUSAGE
$ 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
proca widget getview 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>
proca widget listlist 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>
FAQs
Access the proca api
The npm package proca receives a total of 18 weekly downloads. As such, proca popularity was classified as not popular.
We found that proca demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.