Skip to content

Netlify CLI blobs command

Manage objects in Netlify Blobs

Usage

Terminal window
netlify blobs

Flags

  • filter (string) - For monorepos, specify the name of the application to run the command in
  • debug (boolean) - Print debugging information
  • auth (string) - Netlify auth token - can be used to run this command without logging in
Subcommanddescription
blobs:deleteDeletes an object with a given key, if it exists, from a Netlify Blobs store
blobs:getReads an object with a given key from a Netlify Blobs store and, if it exists, prints the content to the terminal or saves it to a file
blobs:listLists objects in a Netlify Blobs store
blobs:setWrites to a Netlify Blobs store an object with the data provided in the command or the contents of a file defined by the ‘input’ parameter

Examples

Terminal window
netlify blobs:get my-store my-key
netlify blobs:set my-store my-key This will go in a blob
netlify blobs:set my-store my-key --input ./some-file.txt
netlify blobs:delete my-store my-key
netlify blobs:list my-store
netlify blobs:list my-store --json

Deletes an object with a given key, if it exists, from a Netlify Blobs store

Usage

Terminal window
netlify blobs:delete

Arguments

  • store - Name of the store
  • key - Object key

Flags

  • filter (string) - For monorepos, specify the name of the application to run the command in
  • force (boolean) - Bypasses prompts & Force the command to run.
  • debug (boolean) - Print debugging information
  • auth (string) - Netlify auth token - can be used to run this command without logging in

Reads an object with a given key from a Netlify Blobs store and, if it exists, prints the content to the terminal or saves it to a file

Usage

Terminal window
netlify blobs:get

Arguments

  • store - Name of the store
  • key - Object key

Flags

  • filter (string) - For monorepos, specify the name of the application to run the command in
  • output (string) - Defines the filesystem path where the blob data should be persisted
  • debug (boolean) - Print debugging information
  • auth (string) - Netlify auth token - can be used to run this command without logging in

Lists objects in a Netlify Blobs store

Usage

Terminal window
netlify blobs:list

Arguments

  • store - Name of the store

Flags

  • directories (boolean) - Indicates that keys with the ’/’ character should be treated as directories, returning a list of sub-directories at a given level rather than all the keys inside them
  • filter (string) - For monorepos, specify the name of the application to run the command in
  • json (boolean) - Output list contents as JSON
  • prefix (string) - A string for filtering down the entries; when specified, only the entries whose key starts with that prefix are returned
  • debug (boolean) - Print debugging information
  • auth (string) - Netlify auth token - can be used to run this command without logging in

Writes to a Netlify Blobs store an object with the data provided in the command or the contents of a file defined by the ‘input’ parameter

Usage

Terminal window
netlify blobs:set

Arguments

  • store - Name of the store
  • key - Object key
  • value - Object value

Flags

  • filter (string) - For monorepos, specify the name of the application to run the command in
  • force (boolean) - Bypasses prompts & Force the command to run.
  • input (string) - Defines the filesystem path where the blob data should be read from
  • debug (boolean) - Print debugging information
  • auth (string) - Netlify auth token - can be used to run this command without logging in

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy