basic multiple package manager

Related tags

Miscellaneous baka
Overview

baka

basic multiple package manager

Docs

Env

  • baka_root_setting
    • Windows: %USERPROFILE%/.baka/config
    • Linux, Mac: $HOME/.baka/config
  • baka_plugins (Just use plugin command)
    • Windows: %USERPROFILE%/.baka/plugins/*
    • Linux, Mac: $HOME/.baka/plugins/*

Commands Structure

  • found .baka

baka [command] [flag] or baka [baka-flags] [package-manager-command] [package-manager-args]

  • not

baka [baka-flags] [package-manager-command] [package-manager-args]

  • Commands
    • baka [baka-flags] [package-manager-command] [package-manager-args]
    • baka plugin
      • add [git-url]
      • remove [package-manager-name]
      • list
    • baka help
    • baka version
    • baka upgrade
  • baka-flags
    • -p [package-manager-name]
    • -l [language-name] (for multiple language config)

Files

  • Available data formats are json, yaml, and toml.

  • .baka.json

{
   "manager": "cargo" // The package manager name registered with the plugin
}
  • config.json
{
   "language": "en-us", // language
   "plugins": ["%name%-%version%"], // plugin list
   "programming_languages": { // plugin alias
   	"python": "pip3"
   }
}
  • plugin.json
{
	"name": "[package-manager-name]", // package manager name
	"version": "1.0", // version
	"cmd": {
		"install": { // subCommand name
			"exec": "%path% install",
			"description": "Sth Sth", // subCommand description
			"help": "Sth Sth" // subCommand help 
		},
		"uninstall": {
			"exec": "%path% uninstall"
		},
		"search": {
			"exec": "%path% search"
		},
		"[Custom-Command]": {
			"exec": "%path% [Custom-Command]"
		}
	},
	"path": { 
  	// If all is null, should have at least one of darwin, win, Linux, other
		"all": "",
    		"darwin": "",
    		"win": "",
    		"linux": "",
    		"other": "",
	}
}
You might also like...
Basic ActivityPub Server (in Rust)

Basic ActivityPub Server (in Rust) This is a deep-dive on this blog post: https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-s

Simplistic complier~virtual-machine that transforms AST into a Rust function, with basic type checking

rast-jit-vm rast-jit-vm is a simplistic, proof-of-concept~ish compiler / virtual machine that transforms syntax tree into a Rust function, type-checki

A thread pool for running multiple tasks on a configurable group of threads.
A thread pool for running multiple tasks on a configurable group of threads.

Threadfin A thread pool for running multiple tasks on a configurable group of threads. Extra features: Dynamic pool size based on load Support for asy

CLI tool that make it easier to perform multiple lighthouse runs towards a single target and output the result in a "plotable" format.

Lighthouse Groupie CLI tool that make it easier to perform multiple lighthouse runs towards a single target and output the result in a "plotable" form

Tiny crate that allows to wait for a stop signal across multiple threads

Tiny crate that allows to wait for a stop signal across multiple threads. Helpful mostly in server applications that run indefinitely and need a signal for graceful shutdowns.

A tool to calculate mean and standard deviation from multiple tests using PageSpeed Insights API.

psi-sample PSI Test tool is an open source tool to assist web developers that runs Page Speed Insight test manually! Installing To install the psi-tes

Envwoman is an application, to sync your .env-files across multiple machines

Envwoman is an application, to sync your .env-files across multiple machines. The main goal is to make Envwoman secure and trustworthy, so everything is open-source and the data will never in plain-text on the server. Encryption happens client-sided via aes-gcm.

A rust library for interacting with multiple Discord.com-compatible APIs and Gateways at the same time.
A rust library for interacting with multiple Discord.com-compatible APIs and Gateways at the same time.

Chorus A rust library for interacting with (multiple) Spacebar-compatible APIs and Gateways (at the same time). Explore the docs » Report Bug · Reques

Rust package for constructing and analyzing phylogenies.

Rust-Phylogeny, a Rust library for phylogenetic trees Currently this library provides three algorithms: UPGMA and Neighbor-Joining for constructing a

Comments
Owner
null
Novus - A blazingly fast and efficient package manager for windows.

Novus - A blazingly fast and efficient package manager for windows. Why Novus Swift Unlike any other package manager, Novus uses multithreaded downloads

Novus 197 Dec 18, 2022
Wally is a modern package manager for Roblox projects inspired by Cargo

Wally is a package manager for Roblox inspired by Cargo (Rust) and npm (JavaScript). It brings the familiar, community-oriented world of sharing code from other communities into the Roblox ecosystem.

Uplift Games 194 Jan 3, 2023
A shiny new package manager written in rust explicitly for gemlock/linux and it's distributions

Gem A shiny new package manager written in rust explicitly for gemlock/linux and it's distributions. List of content How to setup Systems Ubuntu Arch

Gemlock 1 Feb 22, 2022
Plow - The ontology package manager

Plow - Ontology package manager Plow is package management solution for OWL ontologies, with support for specifying dependencies between packages via

Field 33 12 Dec 21, 2022
💡 Use the right package manager by rust

n ?? Use the right package manager by rust ?? Inspired by ni Why ni is nice , but ni is based on Node. it is difficult to collaborate well with node v

SHEIN 3 Jul 24, 2023
A fast package manager for NodeJS written in Rust.

click A fast package manager for NodeJS written in Rust. How fast? Benchmark of bun vs click clean install: Based on benchmarks done with hyperfine, c

Sam 52 Oct 10, 2023
Basic Rust I2C demo on the TI Launchpad

msp430-i2c-oled-example An example project to talk to an SSD1306 OLED (Adafruit PiOLED) with an MSP430G2553 Launchpad via I2C.

Edward Shin 3 Jul 9, 2021
A basic rp2040-hal project with blinky and rtt logging example code.

A basic rp2040-hal project with blinky and rtt logging example code. With this you can quickly get started on a new rp2040 project

rp-rs 202 Jan 6, 2023
Alternative basic focus movement for the sway and i3 window managers.

sway-overfocus Alternative basic focus movement for the sway and i3 window managers. The primary goal of this program is to create one set of keybinds

null 42 Oct 23, 2022
Edgelord is a library for Cloudflare Workers. You can scaffold a basic bot for discord, slack, etc.

Edge Computing + chūnibyō = Edgelord ✨ ?? Edgelord Edgelord is now working. You can contribute for it. Edgelord is a Rust library for cloudflare worke

null 23 Dec 26, 2022