Skip to content

trufae/v-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

v-shell

Chained API to write V programs similar to shellscripts.

First you need to initialize the module:

import shell

fn main() {
	mut sh := shell.new()
	uid := sh.cat('/etc/passwd')
		.grep('root')
		.cut(':', 2, 2)
		.head(1)
	eprintln('root uid is $uid')
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages