Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomshaw/activator
Manage fonts without leaving the command line.
https://github.com/tomshaw/activator
cobra-cli golang
Last synced: 11 days ago
JSON representation
Manage fonts without leaving the command line.
- Host: GitHub
- URL: https://github.com/tomshaw/activator
- Owner: tomshaw
- License: mit
- Created: 2022-12-20T19:26:22.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-17T05:54:24.000Z (about 1 year ago)
- Last Synced: 2024-06-20T15:55:19.977Z (5 months ago)
- Topics: cobra-cli, golang
- Language: Go
- Homepage:
- Size: 62.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Activator
![release](https://github.com/tomshaw/activator/actions/workflows/release.yml/badge.svg)
[![GoDoc](https://godoc.org/github.com/tomshaw/activator?status.svg)](https://godoc.org/github.com/tomshaw/activator)
![Supported Version](https://img.shields.io/badge/go%20version-%3E%3D1.19-turquoise)
[![Go Report Card](https://goreportcard.com/badge/github.com/tomshaw/activator)](https://goreportcard.com/report/github.com/tomshaw/activator)
[![License](https://img.shields.io/github/license/tomshaw/activator)](https://github.com/tomshaw/activator/blob/master/LICENSE)
![Go version](https://img.shields.io/github/go-mod/go-version/tomshaw/activator)Activator is a command line font management tool used with [Fontastic](https://github.com/tomshaw/fontastic) Font Manager.
## Installation
```sh
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
```sh
activator install "/Font-Name.otf"
```### Removing Fonts
```sh
activator uninstall "/Font-Name.otf"
```### Temporary Font Installation
Windows supports installing fonts temporarily. Fonts are automatically removed after a system reboot.
```sh
activator install --temporary=true "Font-Name.otf"
```### Temporary Font Uninstallation
```sh
activator uninstall --temporary=true "Font-Name.otf"
```### Multiple Fonts
Working with arrays of fonts is supported by separating each font path by a space.
```sh
activator install "Font-Name.otf" "Font-Name Bold.otf" "Font-Name Bold Italic.otf"
```---
### Copy Font Files
Copies **font** files to `destination`.
```sh
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`.
```sh
activator copy folders --source "C:\Fonts" --destination "C:\Dest"
```### Finding Fonts
Finds and prints fonts including sub folders.
```sh
activator fonts find --root "C:\Fonts"
```---
## Contributions
1. Fork the repo
2. Clone the fork (`git clone [email protected]: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](https://github.com/tomshaw/activator/blob/master/LICENSE).