https://github.com/pascalgn/development-tools
  
  
    Command line tools helpful for software development 
    https://github.com/pascalgn/development-tools
  
command-line-tool git maven maven-repository
        Last synced: 7 months ago 
        JSON representation
    
Command line tools helpful for software development
- Host: GitHub
 - URL: https://github.com/pascalgn/development-tools
 - Owner: pascalgn
 - License: mit
 - Created: 2017-07-23T11:47:55.000Z (over 8 years ago)
 - Default Branch: master
 - Last Pushed: 2020-05-03T12:15:35.000Z (over 5 years ago)
 - Last Synced: 2025-02-10T15:50:42.218Z (9 months ago)
 - Topics: command-line-tool, git, maven, maven-repository
 - Language: Python
 - Size: 20.5 KB
 - Stars: 1
 - Watchers: 2
 - Forks: 0
 - Open Issues: 0
 - 
            Metadata Files:
            
- Readme: README.md
 - License: LICENSE
 
 
Awesome Lists containing this project
README
          # development-tools
Command line tools helpful for software development.
## Installation
Use `make install` to install the scripts into `$HOME/bin`.
If you want to install them for all users, use `make install PREFIX=/usr/local/bin`.
## Usage
### abbreviate
Abbreviate long lines:
    $ cat access.log | abbreviate
### git-ghpr
Push the current local branch to the matching remote branch and open the GitHub page to create a new pull request:
    $ git ghpr
### git-import-repository
Copy another repository into the current repository, including git history:
    $ ls -a
    .git    README.md
    $ ls -a ../other-repo
    .git    test1.txt    test2.txt
    $ git-import-repository ../other-repo
    $ ls -a ./other-repo
    test1.txt    test2.txt
### git-merge-theirs
Merge another branch, using strategy `theirs` to use all changes from their branch:
    $ git checkout my-branch
    $ git merge -s theirs their-branch
### git-show-merged-branches
Show branches merged into the current branch:
    $ git show-merged-branches
### git-show-unused-branches
Show all branches, sorted by last commit date:
    $ git show-unused-branches
### ide-delete-eclipse-settings and ide-delete-intellij-settings
Delete IDE configuration files, prompting before deleting:
    $ ide-delete-eclipse-settings
    $ ide-delete-intellij-settings
### java-filter-stacktrace
Filter Java stack traces by only showing lines from the `com.example` package:
    $ cat exception.log | java-filter-stacktrace com.example
### kubectl-generate-context-aliases
Generate `kubectl` alias commands based on the existing contexts:
    $ eval "$(kubectl-generate-context-aliases)"
    $ kubectl-docker-for-desktop get all
### mvn-download-artifact
Download a Maven artifact to your local repository:
    $ mvn-download-artifact commons-io:commons-io:2.5
### mvn-parse-log
Show a condensed version of the Maven log output:
    $ mvn clean install &> maven.log
    $ mvn-parse-log maven.log
### mvn-parse-pom
Parse Maven POM files:
    $ mvn-parse-pom ~/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.pom
    commons-io:commons-io:2.5
### mvn-parse-test-run
Parse Maven output and report test duration:
    $ cat mvn.log | mvn-parse-test-run
    Count,Failures,Errors,Skipped,Duration,Test
    2,0,0,0,0.987,com.example.ServiceTest
    5,0,0,0,0.654,com.example.DaoTest
### mvn-upload-artifact
Upload a Maven artifact to the remote repository:
    $ ls
    commons-io-2.5.pom    commons-io-2.5.jar    commons-io-2.5.jar.sha1
    $ mvn-upload-artifact http://username:password@localhost:8080/ commons-io-2.5.pom
### mvn-upload-repository
Upload multiple artifacts to the remote repository:
    $ mvn-upload-repository http://username:password@localhost:8080/ commons-io/commons-io
## License
All tools are licensed under the MIT License