Discover Packages
github.com/erdos-one/r2
cmd
package
Version:
v0.3.4
Opens a new window with list of versions in this module.
Published: Apr 20, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
cmd
This directory contains the source code for the r2 CLI, which leverages the Cobra
CLI framework.
Architecture
root.go contains the root command that is executed when r2 is run
configure.go contains the configure command
cp.go contains the cp command
ls.go contains the ls command
mb.go contains the mb command
mv.go contains the mv command
presign.go contains the presign command
rb.go contains the rb command
rm.go contains the rm command
sync.go contains the sync command
Expand ▾
Collapse ▴
Documentation
¶
R2ConfigFile globally defines the path to the ~/.r2 configuration file.
Execute adds all child commands to the root command and sets flags appropriately.
This is called by main.main(). It only needs to happen once to the rootCmd.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.