Giter VIP home page Giter VIP logo

parasut-cli's Introduction

Hey there, I'm Metehan! ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on Javascript
  • ๐ŸŒฑ Iโ€™m currently learning Go

๐Ÿ† Github Profile Trophy


parasut-cli's People

Contributors

mthnglac avatar pyup-bot avatar

Stargazers

 avatar  avatar

parasut-cli's Issues

parser re-writing whole package.json

  • Parasut CLI version: 0.1.4
  • Python version: 3.9.1
  • Operating System: Linux Mint 20.1 Ulyssa

Description

json parser ile yaptigim linkleme islemi basariyla gerceklesiyor ancak ilgili
satiri degistirdikten sonra dump'larken git-diff logunda butun dosya yeniden
yazilmis gorunuyor. Benim bekledigim ise sadece degistirdigim satirin diff
gorunmesi

What I Did

-[x] open metodu icerisindeki modu degistirmeyi denedim

Sample Code

    def _change_dependency_value(self, dep_json_file: str, dep_key: str, dep_value: str) -> str:
        with open(dep_json_file, "r") as json_file:
            data = json.load(json_file)
            dep_ver = data["devDependencies"][dep_key]
            data["devDependencies"][dep_key] = dep_value

        with open(dep_json_file, "w+") as json_file:
            json_file.write(json.dumps(data, indent=True))
            json_file.close()

        return dep_ver

subprocess isn't catching yarn exception

  • Parasut CLI version: 0.1.4
  • Python version: 3.9.1
  • Operating System: Linux Mint 20.1 Ulyssa

Description

Suan yarn linklemede kullanilan akista package.json'da degisikligin ardindan
yarn install ile degisiklikleri uyguluyoruz. Ember projesinde ilk
deneme basarisiz gerceklesirken ikincisi basariyla dependencyleri yukluyor.

Bu senaryoda ilk seferdeki exception'u yakalayip 3 kere donguyu denemek
sonrasinda yine calismazsa donguyu kirmak istiyorum. Ancak subprocess
icerisinde error'u yakalayamadim; output'u dogru yakalayamiyorum.

What I Did

-[x] try-except ile hatayi yakalamayi denedim ancak ilgili exception'u
bilmedigim icin bi ise yaramadi.

subprocess 'rvm' isn't accepting 'use' command while switch

  • Parasut CLI version: 0.1.4
  • Python version: 3.9.1
  • Operating System: Linux Mint 20.1 Ulyssa

Description

subprocess ile ruby version secerken ruby-version-manager rvm use <version>
komutunu kabul etmiyor. ilk subprocess.run'da version secerken ikincisinde
rails switch yapiyorum; ancak sorundan kaynakli olarak version secme process
icerisinde sanki bi scope varmis gibi disariya islemiyor.

What I Did

-[x] bash --login denedim ama bu sefer yeni bir session acmis gibi davraniyor ve
process kapandiginda hersey eski haline geliyor.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.