archy

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

ARCHY

CI

Simple tool to operate on ZSH_HISTORY files. Grab the CLI for your system from the releases.

A zsh history manipulator

Usage:
  archy [command]

Available Commands:
  export      exports your command history
  help        Help about any command
  import      import allows you to add external entries to your base zsh history
  login       login to the remote service
  register    register to the remote service

Flags:
      --baseHistoryFile string   base history file to operate on (default "$HOME/.zsh_history")
      --config string            config file (default is $HOME/.archy.yaml)
  -h, --help                     help for archy
      --hostname string          Override the hostname value for entries from this machine (default "QEAirArch")
      --remote string            Address of the remote service to contact (default "https://archy.tux-sudo.com")
      --token string             the token to communicate with the remote service

Use "archy [command] --help" for more information about a command.
Import history from another file

archy import --maxEntries 6000 local f1 f2 f3 f4

This will import entries from files f1 f2 f3 f4 into your base history file, keeping only 6000 of the newest entries after merging.

Remote service

This project comes with a remote service that can hold your ZSH entries from multiple machines. It is still a work in progress, the basic operations work as follows:

  • Register (see archy register -h)
  • Login (see archy login -h)
  • Export Remote (see archy export remote -h)

This will be expanded as the service develops.

Documentation

Overview

Copyright © 2020 Tanmay Chaudhry

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.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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