Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextspace command line tools #337

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

onflapp
Copy link
Contributor

@onflapp onflapp commented Aug 29, 2020

Add two command line utilities:

nxpasteboard - gives you ability to do copy & paste and invoke system services directly from command line
--copy copy text from standard input to the pasteboard
--paste paste text from the pasteboard to standard output
--service call service with text from standard input

for example:
echo "$PWD" | nxpasteboard --service "Terminal/Open shell here"

nxworkspace - invoke Workspace commands from command line

--open open path in Workspace
--open open path with specific application
--activate launch or activate application

I will add additional functionality (e.g. --hide / --hide-all) as it becomes available

@trunkmaster
Copy link
Owner

@onflapp nice idea, thank you. I have some thoughts regarding these tools.

nxpasteboard: I'd like to have something like this https://www.manpagez.com/man/1/pbcopy. I've noticed 2 key points: it's 2 commands with quite clear short names and ability to specify pasteboard content type.

It seems like nxworkspace duplicates functionality of GNUstep's gopen tool. If it's extention to gopen - it should go into appropriate place (GNUstep).

General notes:

  • You've misspelled "GNUmakefile" (capital "M" instead of "m"). It's not bug, but please stick to accepted file naming.
  • It's better to move "Tools" out of "Applications" directory one level up.

@onflapp
Copy link
Contributor Author

onflapp commented Aug 31, 2020

I agree nxpasteboard should aspire to have the same capabilities as pbcopy and more

gopen closely follows Mac/NextStep open command, the idea behind nxworkspace is to provide functionality specific to NEXTSPACE. My wish list:

  • open browser and select file
  • hide / show apps
  • inspect file
  • recycle file
  • alert panel
  • file open panel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants