You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Concerning the suggested commands that would be supported, in the one in particular that states Move file somewhere below file Y I think it would be useful to consider the default value for Y to be the original file and thus the relative to it's current position.
Moving Constants.fs up one relative to itself:
> forklift up 1 Constants.fs
In this example I used my suggested project name forklift but it could easily be substituted with mech or whichever name is decided upon and the same goes for the up 1 syntax that I just threw out there as an example to work with.
Result:
The effect would be that of moving the file reference for Contants.fs in the following project file up one spot.
If the general approach is reasonable then perhaps the overall brief description for this command could instead something like Move file X somewhere below file Y where Y is optional and is the same as X by default.
How would the above up sub command work with X and Y both supplied? Proposing syntax isn't really the focus of this issue but just to demonstrate that a single sub command could cover both cases of relative translation perhaps one of the examples below would make sense.
Moving Constants.fs up one relative to the position of UsesConstants.fs
Example 1:
> forklift up 1 Constants.fs UsesConstants.fs
Example 2:
> forklift up 1 Constants.fs --from UsesConstants.fs
The text was updated successfully, but these errors were encountered:
Concerning the suggested commands that would be supported, in the one in particular that states
Move file somewhere below file Y
I think it would be useful to consider the default value forY
to be the original file and thus the relative to it's current position.Moving
Constants.fs
up one relative to itself:In this example I used my suggested project name forklift but it could easily be substituted with
mech
or whichever name is decided upon and the same goes for theup 1
syntax that I just threw out there as an example to work with.Result:
The effect would be that of moving the file reference for Contants.fs in the following project file up one spot.
If the general approach is reasonable then perhaps the overall brief description for this command could instead something like
Move file X somewhere below file Y where Y is optional and is the same as X by default
.How would the above
up
sub command work with X and Y both supplied? Proposing syntax isn't really the focus of this issue but just to demonstrate that a single sub command could cover both cases of relative translation perhaps one of the examples below would make sense.Moving
Constants.fs
up one relative to the position ofUsesConstants.fs
Example 1:
Example 2:
The text was updated successfully, but these errors were encountered: