sgoudham / git-view Goto Github PK
View Code? Open in Web Editor NEWA git sub-command to view your git repository on GitHub
Home Page: https://crates.io/crates/git-view
License: MIT License
A git sub-command to view your git repository on GitHub
Home Page: https://crates.io/crates/git-view
License: MIT License
We want to allow users to be able to open their current directory remotely OR any type of directory/file as an argument.
Given that a user is currently in the directory
src/bin
on the repositorysgoudham/git-view
AND is on the branchmain
When the user invokesgit view --path
Then the following URL should be opened on the browserhttps://github.com/sgoudham/git-view/tree/main/src/bin
Given that a user is in any directory on the repository
sgoudham/git-view
AND is on the branchmain
When the user invokesgit view --path src/lib.rs
Then the following URL should be opened on the browserhttps://github.com/sgoudham/git-view/tree/main/src/lib.rs
(Note that https://github.com/sgoudham/git-view/tree/main/src/lib.rs
will automatically be converted to https://github.com/sgoudham/git-view/blob/main/src/lib.rs
by GitHub
The current --issue
flag doesn't take in any arguments to open up a custom issue, we should extend this command to take in an issue number so a custom issue can be opened that's not part of the branch name.
Given a user that wants to open the issue 42 on the repository
sgoudham/git-view
When the user invokesgit view --issue 42
Then the following URL should be opened on the browserhttps://github.com/sgoudham/git-view/issues/42
I'm not very familiar with BitBucket URL's so I think it would be easier to maintain going forward if support was dropped. It may be a better idea to reintroduce other URLs once the GitHub side is feature complete
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.