eph

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 1 Imported by: 0

README

GitHub release Go Report Card coverage GitHub Downloads GoDoc License

eph

eph is the official client for https://api.ephemeralfiles.com.

Getting started

Install

Install from the release binary.

$ mkdir $HOME/.bin
$ curl -L https://github.com/ephemeralfiles/eph/releases/download/v0.2.0/eph_0.2.0_linux_amd64 --output $HOME/.bin/eph
$ chmod +x $HOME/.bin/eph
$ # add $HOME/.bin in your PATH
$ export PATH=$HOME/.bin:$PATH
$ # Add the new PATH to your .bashrc
$ echo 'export PATH=$HOME/.bin:$PATH' >> $HOME/.bashrc
Configure
  • First of all, you need to create an account on https://api.ephemeralfiles.com
  • Generate a token in your account
  • Use the generated token to configure the client
$  eph config -t "generated-token"
Configuration saved

You should be able to use the client. Check with this command:

$ eph check
Token configuration:
  email: ********
  expiration Date: 2025-07-02 21:39:26
Box configuration:
  capacity: 5120 MB
  used: 0 MB
  remaining: 5120 MB

Documentation

Overview

Package main is the entry point for the eph CLI application. eph is the official command-line client for ephemeralfiles.com, providing file upload, download, and management capabilities with end-to-end encryption support.

Directories

Path Synopsis
Package cmd provides the command-line interface commands for the eph CLI tool.
Package cmd provides the command-line interface commands for the eph CLI tool.
pkg
cmdutil
Package cmdutil provides common utilities and helper functions for command-line operations.
Package cmdutil provides common utilities and helper functions for command-line operations.
config
Package config provides configuration management for the ephemeralfiles CLI.
Package config provides configuration management for the ephemeralfiles CLI.
dto
Package dto provides data transfer objects for the ephemeralfiles API.
Package dto provides data transfer objects for the ephemeralfiles API.
ephcli
Package ephcli provides progress bar functionality for file operations.
Package ephcli provides progress bar functionality for file operations.
github
Package github provides functionality for interacting with GitHub releases and checking for updates to the ephemeral files CLI.
Package github provides functionality for interacting with GitHub releases and checking for updates to the ephemeral files CLI.
logger
Package logger provides structured logging utilities for the ephemeral files CLI.
Package logger provides structured logging utilities for the ephemeral files CLI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL