files-community / files-community/Files

Feature: Expand support for command line arguments

Open
#13,021 6 comments 3 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 7m
Merged PRs (30d)
62

Description

### What feature or improvement do you think would benefit Files?

It would be great to have command line arguments for Files. Personally I am currently using AutoHotkey to assign multiple keybinds to quickly launch my most used directories, however it would be great to have more functionality than just opening a directory.

Adding command-line arguments such as adding and removing Tags, has alot of potential as it could allow for integration with other programs, allowing for a program to automatically give files it creates Tags for example.

Thats just one example but I'm sure there are so many other things that could be added as arguments which would allow for so much more opportunity for Files to be integrated with other apps. This would not only help individual users workflows, it could also be integrated into almost any application (as almost everything uses files in some way).

Also could have the benefit of users of Files promoting the App by telling other people the fact that another app that they use is improved via the use of an integration with Files.

Some of the arguments I can think of that would be nice to have are:
--new-tab
--new-window
--new-pane
_^These could have additional:
-sort-by [options (list), direction]
-group-by [options (list), direction]_
--compact
--add-favourite
--remove-favourite
--add-tag
--remove-tag
--create-tag
--edit-tag
--delete-tag
--version
--log
--theme (dark/light/default)
--background (Preset name or Hexcode)

### Requirements

- Command-line Arguments that can be used to perform and control various actions within Files.

_The most important ones to add in my opinion are listed below. More could be added over time_
- Launch specified path in a new Tab / Window / Split-pane
- Add/Remove Tags from specified path
- List/Create/Edit/Delete Tags
- Change Theme (Default/Light/Dark)
- Toggle Theme to change to opposite of current
- Change Background to specified name from the preset options or to specified hex code (or rgb/hsv if you wanted to add those options too)

### Files Version

2.5.20.0

### Windows Version

10.0.19045.3208

### Comments

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating Files' command-line startup handling and narrow the proposal to one specific argument group. Done would mean the selected arguments perform the stated path, tag, theme, or background actions and are covered by appropriate validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.