Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
A command line interface to the Box Content API.
To get started with the Box CLI, first set up a Box application using Server Authentication with JWT and download the JSON configuration file from the Configuration page of your app in the Box Developer Console. Then, set up the CLI by pointing it to your configuration file:
$ box configure:environments:add PATH_TO_CONFIG_FILE
Successfully added CLI environment "default"
If you manually generated your own private key to use with JWT authentication, you will need to point the CLI to the location of your private key file:
$ box configure:environments:add PATH_TO_CONFIG_FILE --private-key-path PATH_TO_PRIVATE_KEY --name ManualKey
Successfully added CLI environment "ManualKey"
$ box --version
box-cli/0.0.0 darwin-x64 node-v10.10.0
$ box users:get --help
Get information about a Box user
USAGE
$ box users:get [ID]
ARGUMENTS
ID [default: me] ID of the user to get; defaults to the current user
OPTIONS
-h, --help Show CLI help
-s, --save Save report to default reports folder on disk
-t, --token=token Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=as-user Provide an ID for a user
--bulk-file-path=bulk-file-path File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=fields Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=save-to-file-path Override default file path to save report
$ box users:get
Type: user
ID: '77777'
Name: Example User
Login: user@example.com
Created At: '2016-12-07T17:30:40-08:00'
Modified At: '2018-11-15T17:33:06-08:00'
Language: en
Timezone: America/Los_Angeles
Space Amount: 10737418240
Space Used: 53569393
Max Upload Size: 5368709120
Status: active
Job Title: ''
Phone: ''
Address: ''
Avatar URL: 'https://app.box.com/api/avatar/large/77777'
box autocomplete
- Display autocomplete installation instructionsbox collaboration-whitelist
- List collaboration whitelist entriesbox collaborations
- Manage collaborationsbox collections
- List your collectionsbox comments
- Manage comments on filesbox configure
- Configure the Box CLIbox device-pins
- List all the device pins for your enterprisebox events
- Get eventsbox files
- Manage filesbox folders
- Manage foldersbox groups
- List all groupsbox help
- Display help for the Box CLIbox legal-hold-policies
- List legal hold policiesbox metadata-cascade-policies
- List the metadata cascade policies on a folderbox metadata-templates
- Get all metadata templates in your Enterprisebox recent-items
- List information about files accessed in the past 90 days up to a 1000 itemsbox request
- Manually specify a Box API requestbox retention-policies
- List all retention policies for your enterprisebox search
- Search for files and folders in your Enterprisebox shared-links
- Manage shared linksbox storage-policies
- List storage policiesbox tasks
- Manage tasksbox terms-of-service
- List terms of services for your enterprisebox tokens
- Get a token. Returns the service account token by defaultbox trash
- List all items in trashbox users
- List all Box usersbox watermarking
- Apply a watermark on an itembox web-links
- Manage web linksbox webhooks
- List all webhooksBrowse the issues tickets! Or, if that doesn't work, file a new one and someone will get back to you. If you have general questions about the Box API, you can post to the Box Developer Forum.
npm install
.npm test
to ensure everything is working.src/
directory. Be sure to add corresponding tests
in the test/
directory!For more information, please see the Contribution guidelines.
Copyright 2018 Box, Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This software includes third party libraries, which are distributed under their own licenses' terms; see LICENSE-THIRD-PARTY.txt for details.
2.4.0 [2019-08-29]
box files:metadata:list
and box search
) would only include the columns from the first object in the result set.
These commands now output the full set of columns across all objects in the result set.box collaborations:update
when setting --role=owner
; previously the command would
output undefined
.box users:create
and box users:update
commands with
the --external-id
flagFAQs
Official command line interface for the Box API
The npm package @box/cli receives a total of 158 weekly downloads. As such, @box/cli popularity was classified as not popular.
We found that @box/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.