Skip to content

tomshaw/activator

Repository files navigation

Activator

release GoDoc Supported Version Go Report Card License Go version

Activator is a command line font management tool used with Fontastic Font Manager.

Installation

go install github.com/tomshaw/activator@latest

Activator has been tested and supports Go versions >=1.19.x.

Usage

Run activator -h to print help instructions.


Font Installation

The following commands must be used with elevated or administrative privileges.

Adding Fonts

activator install "<path-source-folder>/Font-Name.otf"

Removing Fonts

activator uninstall "<path-system-folder>/Font-Name.otf"

Temporary Font Installation

Windows supports installing fonts temporarily. Fonts are automatically removed after a system reboot.

activator install --temporary=true "Font-Name.otf"

Temporary Font Uninstallation

activator uninstall --temporary=true "Font-Name.otf"

Multiple Fonts

Working with arrays of fonts is supported by separating each font path by a space.

activator install "Font-Name.otf" "Font-Name Bold.otf" "Font-Name Bold Italic.otf"

Copy Font Files

Copies font files to destination.

activator copy files --destination "Font-Name.otf" "Font-Name Bold.otf" "Font-Name Bold Italic.otf"

Copy Font Folders

Copies fonts/folders from source to destination.

activator copy folders --source "C:\Fonts" --destination "C:\Dest"

Finding Fonts

Finds and prints fonts including sub folders.

activator fonts find --root "C:\Fonts"

Contributions

  1. Fork the repo
  2. Clone the fork (git clone git@github.com:YOUR_USERNAME/activator.git && cd activator)
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Make changes and add them (git add --all)
  5. Commit your changes (git commit -m 'Add some feature')
  6. Push to the branch (git push origin my-new-feature)
  7. Create a pull request

License

See LICENSE.

About

Manage fonts without leaving the command line.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages