add-apt-repository from the binary package python-software-properties (from Karmic onwards) is a commandline tool which does steps 1 and 2; since both are written in Python, it should not be too difficult to integrate PPA support into apturl.
add-apt-repository from the binary package python- software- properties (from Karmic onwards) is a commandline tool which does steps 1 and 2; since both are written in Python, it should not be too difficult to integrate PPA support into apturl.